Commit 99843c2a authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update the name of the methods.

parent 54749d51
...@@ -32,9 +32,9 @@ class AuthenticationLoginFragment : Fragment() { ...@@ -32,9 +32,9 @@ class AuthenticationLoginFragment : Fragment() {
setupEditTextListener() setupEditTextListener()
// Show the first three social account's ImageButton (REMARK: we must show at maximum *three* views) // Show the first three social account's ImageButton (REMARK: we must show at maximum *three* views)
showLoginUsingFacebookImagebutton() showLoginUsingFacebookImageButton()
showLoginUsingGithubImagebutton() showLoginUsingGithubImageButton()
showLoginUsingGoogleImagebutton() showLoginUsingGoogleImageButton()
// Setup the FloatingActionButton to show more social account's ImageButton (it expands the social accounts interface to show more views). // Setup the FloatingActionButton to show more social account's ImageButton (it expands the social accounts interface to show more views).
setupFabListener() setupFabListener()
...@@ -127,40 +127,40 @@ class AuthenticationLoginFragment : Fragment() { ...@@ -127,40 +127,40 @@ class AuthenticationLoginFragment : Fragment() {
} }
} }
private fun showLoginUsingFacebookImagebutton() { private fun showLoginUsingFacebookImageButton() {
button_facebook.visibility = View.VISIBLE button_facebook.visibility = View.VISIBLE
} }
private fun showLoginUsingGithubImagebutton() { private fun showLoginUsingGithubImageButton() {
button_github.visibility = View.VISIBLE button_github.visibility = View.VISIBLE
} }
private fun showLoginUsingGoogleImagebutton() { private fun showLoginUsingGoogleImageButton() {
button_google.visibility = View.VISIBLE button_google.visibility = View.VISIBLE
} }
private fun showLoginUsingLinkedinImagebutton() { private fun showLoginUsingLinkedinImageButton() {
button_linkedin.visibility = View.VISIBLE button_linkedin.visibility = View.VISIBLE
} }
private fun showLoginUsingMeteorImagebutton() { private fun showLoginUsingMeteorImageButton() {
button_meteor.visibility = View.VISIBLE button_meteor.visibility = View.VISIBLE
} }
private fun showLoginUsingTwitterImagebutton() { private fun showLoginUsingTwitterImageButton() {
button_twitter.visibility = View.VISIBLE button_twitter.visibility = View.VISIBLE
} }
private fun showLoginUsingGitlabImagebutton() { private fun showLoginUsingGitlabImageButton() {
button_gitlab.visibility = View.VISIBLE button_gitlab.visibility = View.VISIBLE
} }
private fun setupFabListener() { private fun setupFabListener() {
button_fab.setOnClickListener({ button_fab.setOnClickListener({
showLoginUsingLinkedinImagebutton() showLoginUsingLinkedinImageButton()
showLoginUsingMeteorImagebutton() showLoginUsingMeteorImageButton()
showLoginUsingTwitterImagebutton() showLoginUsingTwitterImageButton()
showLoginUsingGitlabImagebutton() showLoginUsingGitlabImageButton()
scrollToBottom() scrollToBottom()
hideFab() hideFab()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment