Skip to content

Can the library be used in a pure Android project? #72

Answered by Nek-12
jayvijaygohil asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, the process is not different at all. You just need to use the core dependency as usual and choose from one of the two depending on your UI framework:

pro.respawn.flowmvi:android for XML
pro.respawn.flowmvi.compose for Compose

For specifics on how to set up the library with Android, you can take a look at https://opensource.respawn.pro/FlowMVI/#/android

You can use each module the library provides as you see fit, all of them support android, and some of them offer extra functionality. For example, you can save the state of the store using parcelizeState or use the lifecycle dsl to subscribe based on activity/fragment lifecycle

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Nek-12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants