V - the view type.public interface LoadingViewListener<V extends android.view.View>
View which can indicate whether it is in a loading state or in a
onTokenSelectionViewReady state. This means that the view will not be usable in certain situations. In this case we
have to communicate to the user that the view is not in a usable state resp. we can show a
loading spinner. The view should automatically return to a usable state automatically. Normally
the view is triggering some fetching of information from a remote server.| Modifier and Type | Method and Description |
|---|---|
void |
onLoading(V view)
This method is invoked when the
view is not onTokenSelectionViewReady and requires to load something. |
void |
onReady(V view)
This method is invoked when the
view is onTokenSelectionViewReady and the content can be shown to the
user. |
void onLoading(V view)
view is not onTokenSelectionViewReady and requires to load something.view - the view which is not onTokenSelectionViewReady and requires to load something.void onReady(V view)
view is onTokenSelectionViewReady and the content can be shown to the
user.view - the view which is onTokenSelectionViewReady and can be shown.