MVVM-Kotlin-Android-Architecture icon indicating copy to clipboard operation
MVVM-Kotlin-Android-Architecture copied to clipboard

Creating multiple ui implementation (branch for xml, anthor for Jetpack compose)

Open AbdAllahAbdElFattah13 opened this issue 3 years ago • 3 comments

I recommend utilizing the separate layers and creating two ui versions: The XML existing one and a new compose one. The main activity shows a button to go for each.

I think this will showcase the real power of separation of concerns.

AbdAllahAbdElFattah13 avatar Jul 30 '22 17:07 AbdAllahAbdElFattah13

see #34

AbdAllahAbdElFattah13 avatar Jul 30 '22 17:07 AbdAllahAbdElFattah13

We can also demonstrate the Navigation library, it will be a nice addition and should ease the flow.

AbdAllahAbdElFattah13 avatar Jul 30 '22 17:07 AbdAllahAbdElFattah13

Well, I don't mean separate branches, I mean like in the same app. Imigain a main activity with btn for each ui way of implemenation. I don't mind separate branches, just with separate branches we'll not need the Navigation library, so we'll use the chance to demonstrate it. : )

I'm just thinking out loud, feel free to share what you think. :)

AbdAllahAbdElFattah13 avatar Jul 31 '22 16:07 AbdAllahAbdElFattah13