ui / com.schibsted.account.ui.ui / WebFragment

WebFragment

open class WebFragment : BaseFragment

a Fragment used to display a website into the application

Constructors

<init>

WebFragment()

a Fragment used to display a website into the application

Inherited Properties

keyboardListener

var keyboardListener: KeyboardListener?

The keyboard manager allowing to interact with the state of the soft keyboard

navigationListener

var navigationListener: NavigationListener?

the navigation controller used to request a navigation

Functions

newInstance

open static fun newInstance(link: String!, appScheme: URI!): WebFragment!

create a new instance of the fragment with a website's link as arguments

onCreateView

open fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?

onViewCreated

open fun onViewCreated(view: View, savedInstanceState: Bundle?): Unit

Inherited Functions

displayErrorDialog

fun displayErrorDialog(error: ClientError, errorMessage: String? = null): Unit

onAnimationEnd

open fun onAnimationEnd(animation: Animation?): Unit

onAnimationRepeat

open fun onAnimationRepeat(animation: Animation?): Unit

onAnimationStart

open fun onAnimationStart(animation: Animation?): Unit

onCreateAnimation

open fun onCreateAnimation(transit: Int, enter: Boolean, nextAnim: Int): Animation

registerKeyboardController

fun registerKeyboardController(keyboardListener: KeyboardListener): Unit

registerNavigationController

fun registerNavigationController(navigationListener: NavigationListener): Unit

this method is used to register the navigation controller

unregisterKeyboardController

fun unregisterKeyboardController(): Unit

unregisterNavigationController

fun unregisterNavigationController(): Unit

free the reference to the navigation controller