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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -