UIManager
instead.public interface AdvancedUIManager
Modifier and Type | Interface and Description |
---|---|
static interface |
AdvancedUIManager.AdvancedUIManagerListener
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
android.app.Fragment |
getActionBarFragment(LoginFlowState state)
Deprecated.
this method is no longer used and will be removed in a later release
|
android.app.Fragment |
getBodyFragment(LoginFlowState state)
Returns a custom fragment for the body in the middle of the scrollable container.
|
ButtonType |
getButtonType(LoginFlowState state)
Returns the button type for the given login state.
|
android.app.Fragment |
getFooterFragment(LoginFlowState state)
Returns a custom fragment for the bottom of the content in the scrollable container.
|
android.app.Fragment |
getHeaderFragment(LoginFlowState state)
Returns a custom fragment for the top of the content in the scrollable container.
|
TextPosition |
getTextPosition(LoginFlowState state)
Returns the position of the text relative to the content body fragment.
|
void |
onError(AccountKitError error)
Called when an error is encountered and should be displayed in the UI.
|
void |
setAdvancedUIManagerListener(AdvancedUIManager.AdvancedUIManagerListener listener)
Deprecated.
|
@Nullable android.app.Fragment getActionBarFragment(LoginFlowState state)
state
- the current state of the login flowvoid setAdvancedUIManagerListener(AdvancedUIManager.AdvancedUIManagerListener listener)
UIManager.setUIManagerListener(UIManager.UIManagerListener)
insteadlistener
- the listener object@Nullable android.app.Fragment getBodyFragment(LoginFlowState state)
state
- the current state of the login flow@Nullable ButtonType getButtonType(LoginFlowState state)
state
- the current state of the login flow@Nullable android.app.Fragment getFooterFragment(LoginFlowState state)
state
- the current state of the login flow@Nullable android.app.Fragment getHeaderFragment(LoginFlowState state)
state
- the current state of the login flow@Nullable TextPosition getTextPosition(LoginFlowState state)
state
- the current state of the login flowvoid onError(AccountKitError error)
error
- the error