Package com.firebase.ui.auth
Class AuthMethodPickerLayout.Builder
- java.lang.Object
-
- com.firebase.ui.auth.AuthMethodPickerLayout.Builder
-
- Enclosing class:
- AuthMethodPickerLayout
public static class AuthMethodPickerLayout.Builder extends Object
Builder forAuthMethodPickerLayout
.
-
-
Constructor Summary
Constructors Constructor Description Builder(int mainLayout)
Create a new builder, specifying the ID of the XML layout resource to be sued.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthMethodPickerLayout
build()
AuthMethodPickerLayout.Builder
setAnonymousButtonId(int anonymousButton)
Set the ID of the Anonymous sign in button in the custom layout.AuthMethodPickerLayout.Builder
setAppleButtonId(int appleButtonId)
AuthMethodPickerLayout.Builder
setEmailButtonId(int emailButton)
Set the ID of the Email sign in button in the custom layout.AuthMethodPickerLayout.Builder
setFacebookButtonId(int facebookBtn)
Set the ID of the Facebook sign in button in the custom layout.AuthMethodPickerLayout.Builder
setGithubButtonId(int githubButtonId)
AuthMethodPickerLayout.Builder
setGoogleButtonId(int googleBtn)
Set the ID of the Google sign in button in the custom layout.AuthMethodPickerLayout.Builder
setMicrosoftButtonId(int microsoftButtonId)
AuthMethodPickerLayout.Builder
setPhoneButtonId(int phoneButton)
Set the ID of the Phone Number sign in button in the custom layout.AuthMethodPickerLayout.Builder
setTosAndPrivacyPolicyId(int tosPpView)
Set the ID of a TextView where terms of service and privacy policy should be displayed.AuthMethodPickerLayout.Builder
setTwitterButtonId(int twitterBtn)
Set the ID of the Twitter sign in button in the custom layout.AuthMethodPickerLayout.Builder
setYahooButtonId(int yahooButtonId)
-
-
-
Method Detail
-
setGoogleButtonId
public AuthMethodPickerLayout.Builder setGoogleButtonId(@IdRes int googleBtn)
Set the ID of the Google sign in button in the custom layout.
-
setFacebookButtonId
public AuthMethodPickerLayout.Builder setFacebookButtonId(@IdRes int facebookBtn)
Set the ID of the Facebook sign in button in the custom layout.
-
setTwitterButtonId
public AuthMethodPickerLayout.Builder setTwitterButtonId(@IdRes int twitterBtn)
Set the ID of the Twitter sign in button in the custom layout.
-
setEmailButtonId
public AuthMethodPickerLayout.Builder setEmailButtonId(@IdRes int emailButton)
Set the ID of the Email sign in button in the custom layout.
-
setPhoneButtonId
public AuthMethodPickerLayout.Builder setPhoneButtonId(@IdRes int phoneButton)
Set the ID of the Phone Number sign in button in the custom layout.
-
setAnonymousButtonId
public AuthMethodPickerLayout.Builder setAnonymousButtonId(@IdRes int anonymousButton)
Set the ID of the Anonymous sign in button in the custom layout.
-
setGithubButtonId
public AuthMethodPickerLayout.Builder setGithubButtonId(@IdRes int githubButtonId)
-
setMicrosoftButtonId
public AuthMethodPickerLayout.Builder setMicrosoftButtonId(@IdRes int microsoftButtonId)
-
setAppleButtonId
public AuthMethodPickerLayout.Builder setAppleButtonId(@IdRes int appleButtonId)
-
setYahooButtonId
public AuthMethodPickerLayout.Builder setYahooButtonId(@IdRes int yahooButtonId)
-
setTosAndPrivacyPolicyId
public AuthMethodPickerLayout.Builder setTosAndPrivacyPolicyId(@IdRes int tosPpView)
Set the ID of a TextView where terms of service and privacy policy should be displayed.
-
build
public AuthMethodPickerLayout build()
-
-