ViewModel in MVVM Android Architecture -
i developing android apps customize in toolbar. so, decide make custom toolbar layout. add action textview, toolbar's action different each fragments. when first develop put custom toolbar in each fragment.
but think, why don't simplify putting toolbar each activity , manage action if different fragment attached.
in moment, think again. how can manage different actions if want implement mvvm? in mind now, viewmodel responsible view state screen transition screen.
i need advice problem, , implement on mvvm architecture.
Comments
Post a Comment