abstract class BaseFragment : Fragment
BaseFragment
BaseFragment()
BaseFragment |
var rootView: View?
View? |
|
val supportFragmentManager: FragmentManager?
FragmentManager? |
|
val toolbar: Toolbar?
Toolbar? |
|
val toolbarShadow: View?
View? |
fun <T : View> findViewById(: Int): T?
findViewById |
|
open fun onCreateView(: LayoutInflater, : ViewGroup?, : Bundle?): View?
onCreateView |
|
fun onSupportBackPressed(: Bundle): Boolean
onSupportBackPressed |
|
fun removeSubtitle(): Unit
removeSubtitle |
|
fun removeTitle(): Unit
removeTitle |
|
fun setIcon(: Int): Unit fun setIcon(: Drawable): Unit
setIcon |
|
abstract fun setLayoutResource(): Int
setLayoutResource |
|
fun setNavigationIcon(: Int): Unit fun setNavigationIcon(: Drawable): Unit
setNavigationIcon |
|
fun setNavigationOnClickListener(: OnClickListener): Unit
setNavigationOnClickListener |
|
fun setStatusBarColor(: Int): Unit
setStatusBarColor |
|
fun setStatusBarColorRes(: Int): Unit
setStatusBarColorRes |
|
fun setSubtitle(: Int): Unit fun setSubtitle(: String): Unit
setSubtitle |
|
fun setSubtitleColor(: Int): Unit
setSubtitleColor |
|
fun setSubtitleColorRes(: Int): Unit
setSubtitleColorRes |
|
fun setSubtitlePost(: String): Unit fun setSubtitlePost(: Int): Unit
setSubtitlePost |
|
fun setTitle(: Int): Unit fun setTitle(: String): Unit
setTitle |
|
fun setTitleColor(: Int): Unit
setTitleColor |
|
fun setTitleColorRes(: Int): Unit
setTitleColorRes |
|
fun setTitlePost(: String): Unit fun setTitlePost(: Int): Unit
setTitlePost |
fun Fragment.pushActivity(: KClass<*>, : ActivityBuilder.() -> Unit = {}): NavUtilsPushActivity
pushActivity |
|
fun Fragment.pushChromeCustomTab(: ChromeBuilder.() -> Unit = {}): NavUtilsPushChromeActivity
pushChromeCustomTab |
|
fun Fragment.pushFragment(: Fragment, : FragmentBuilder.() -> Unit = {}): NavUtilsPushFragment fun Fragment.pushFragment(: KClass<*>, : FragmentBuilder.() -> Unit = {}): NavUtilsPushFragment
pushFragment |