android - How to build a modular app -
i have app has 10 different components (chat, feed, profile, settings, etc').
i need ability create multiple apps each 1 of them have number of components.
example:
- app1 - have chat settings , profile.
- app2 - have feed , settings.
how should approach this?
i thinking of building each component library , each app need build connect pieces puzzle.
would correct way? or have better suggestions?
thanks
you can develop "sdk" project (like facebook sdk) includes components (chat, feeds, profiles, users etc.) , can use "sdk" library in other projects. use whichever components want particular app.
this approach make "sdk" project maintainable , upgradable. when adding new feature (say, albums) can integrate "sdk" project , use existing applications.
Comments
Post a Comment