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 java.lang.ObjectBuilder 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 AuthMethodPickerLayoutbuild()AuthMethodPickerLayout.BuildersetAnonymousButtonId(int anonymousButton)Set the ID of the Anonymous sign in button in the custom layout.AuthMethodPickerLayout.BuildersetAppleButtonId(int appleButtonId)AuthMethodPickerLayout.BuildersetEmailButtonId(int emailButton)Set the ID of the Email sign in button in the custom layout.AuthMethodPickerLayout.BuildersetFacebookButtonId(int facebookBtn)Set the ID of the Facebook sign in button in the custom layout.AuthMethodPickerLayout.BuildersetGithubButtonId(int githubButtonId)AuthMethodPickerLayout.BuildersetGoogleButtonId(int googleBtn)Set the ID of the Google sign in button in the custom layout.AuthMethodPickerLayout.BuildersetMicrosoftButtonId(int microsoftButtonId)AuthMethodPickerLayout.BuildersetPhoneButtonId(int phoneButton)Set the ID of the Phone Number sign in button in the custom layout.AuthMethodPickerLayout.BuildersetTosAndPrivacyPolicyId(int tosPpView)Set the ID of a TextView where terms of service and privacy policy should be displayed.AuthMethodPickerLayout.BuildersetTwitterButtonId(int twitterBtn)Set the ID of the Twitter sign in button in the custom layout.AuthMethodPickerLayout.BuildersetYahooButtonId(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()
-
-