public static class AuthMethodPickerLayout.Builder extends Object
AuthMethodPickerLayout.| Constructor and Description |
|---|
Builder(int mainLayout)
Create a new builder, specifying the ID of the XML layout resource to be sued.
|
| Modifier and Type | Method and 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) |
public Builder(@LayoutRes
int mainLayout)
public AuthMethodPickerLayout.Builder setGoogleButtonId(@IdRes int googleBtn)
public AuthMethodPickerLayout.Builder setFacebookButtonId(@IdRes int facebookBtn)
public AuthMethodPickerLayout.Builder setTwitterButtonId(@IdRes int twitterBtn)
public AuthMethodPickerLayout.Builder setEmailButtonId(@IdRes int emailButton)
public AuthMethodPickerLayout.Builder setPhoneButtonId(@IdRes int phoneButton)
public AuthMethodPickerLayout.Builder setAnonymousButtonId(@IdRes int anonymousButton)
public AuthMethodPickerLayout.Builder setGithubButtonId(@IdRes int githubButtonId)
public AuthMethodPickerLayout.Builder setMicrosoftButtonId(@IdRes int microsoftButtonId)
public AuthMethodPickerLayout.Builder setAppleButtonId(@IdRes int appleButtonId)
public AuthMethodPickerLayout.Builder setYahooButtonId(@IdRes int yahooButtonId)
public AuthMethodPickerLayout.Builder setTosAndPrivacyPolicyId(@IdRes int tosPpView)
public AuthMethodPickerLayout build()