bindFragment

abstract fun bindFragment(Fragment: IFragment, Page: IMain_Activity.Page_Type)

Bind the fragment to its activity. Note thar the fragment manager might create new fragments without the use of the page adapter.

Parameters

Fragment

fragment to display (null ⇒ unbind fragment)

Page

Page to which the fragment belongs.