android10 / Android-CleanArchitecture-Kotlin

This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
https://fernandocejas.com/2018/05/07/architecting-android-reloaded/
4.69k stars 935 forks source link

Question: Where would you store shared fragments such as a bottom navigation bar? #43

Closed avaitla closed 6 years ago

avaitla commented 6 years ago

Hi Android10,

I enjoyed reading your article (https://fernandocejas.com/2018/05/07/architecting-android-reloaded/), but had a question about sharing fragments and viewmodels. Where would you recommend is best to store common functionality such as a bottom navigation bar fragment?

Thanks,

Anil

dmfrey commented 6 years ago

Wouldn't that be a feature as well? It just happens to interact with other features. Also, move it out to the Navigation component of Jetpack, then it's mostly in configuration.