abstract class BaseFragment : Fragment, AnimationListener
BaseFragment() |
var keyboardListener: KeyboardListener?
The keyboard manager allowing to interact with the state of the soft keyboard |
|
var navigationListener: NavigationListener?
the navigation controller used to request a navigation |
fun displayErrorDialog(error: ClientError, errorMessage: String? = null): Unit |
|
open fun onAnimationEnd(animation: Animation?): Unit |
|
open fun onAnimationRepeat(animation: Animation?): Unit |
|
open fun onAnimationStart(animation: Animation?): Unit |
|
open fun onCreateAnimation(transit: Int, enter: Boolean, nextAnim: Int): Animation |
|
fun registerKeyboardController(keyboardListener: KeyboardListener): Unit |
|
fun registerNavigationController(: NavigationListener): Unit
this method is used to register the navigation controller |
|
fun unregisterKeyboardController(): Unit |
|
fun unregisterNavigationController(): Unit
free the reference to the navigation controller |
abstract class FlowFragment<in T> : BaseFragment, KeyboardVisibilityListener, FlowView<T>
a Fragment used to represents a part of a UI flow, as such, this fragment can continue a flow. the flow could be continue thanks to the keyboard or a button. |
|
class InboxFragment : BaseFragment |
|
open class WebFragment : BaseFragment
a |