package Ġpl . value add . m vi . example . presentation . main . about Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġio . reactivex . Observable Ċ import Ġpl . value add . m vi . example . R Ċ import Ġpl . value add . m vi . example . databinding . Fragment About Binding Ċ import Ġpl . value add . m vi . example . presentation . base . Abstract Base M vi Fragment Ċ import Ġpl . value add . m vi . fragment . base . Fragment Binding Inflater Ċ import Ġpl . value add . m vi . presenter . I Base View Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠAbout Fragment Ġ: ĊĠĠĠ ĠAbstract Base M vi Fragment < About View , ĠAbout ViewState , ĠI Base View . I Base Intent , ĠI Base View . I Base Effect , ĠAbout Presenter , ĠFragment About Binding >(), ĊĠĠĠ ĠAbout View Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġbinding Inflater : ĠFragment Binding Inflater < Fragment About Binding > ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠFragment About Binding :: inflate ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġfun Ġcreate Instance (): ĠAbout Fragment Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠAbout Fragment () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Inject ĊĠĠĠ Ġoverride Ġlateinit Ġvar Ġpresenter : ĠAbout Presenter ĊĊĠĠĠ Ġoverride Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on View Created ( view , ĠsavedInstanceState ) ĊĠĠĠĠĠĠĠ Ġsetup Toolbar () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġsetup Toolbar () Ġ= Ġwith ( require Binding . base AppBar Layout . base Toolbar ) Ġ{ ĊĠĠĠĠĠĠĠ ĠsetTitle ( R . string . about _ title ) ĊĠĠĠĠĠĠĠ Ġsetup With Nav Controller () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġrender ( state : ĠAbout ViewState ) Ġ{ ĊĠĠĠĠĠĠĠ Ġ// Ġno - op ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġprovide View Intent s (): ĠList < Observable < I Base View . I Base Intent >> Ġ= ĠlistOf () ĊĊĠĠĠ Ġoverride Ġfun Ġprovide Initial ViewState (): ĠAbout ViewState Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrestored ViewState Ġ?: ĠAbout ViewState () ĊĠĠĠ Ġ} Ċ } Ċ