-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor: Migrate from Livedata to Stateflow #2415
Closed
18 tasks done
Labels
Comments
I have taken this up |
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 21, 2023
3 tasks
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 22, 2023
3 tasks
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 22, 2023
3 tasks
therajanmaurya
pushed a commit
that referenced
this issue
Oct 23, 2023
therajanmaurya
pushed a commit
that referenced
this issue
Oct 23, 2023
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 23, 2023
3 tasks
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 23, 2023
3 tasks
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Oct 23, 2023
3 tasks
therajanmaurya
pushed a commit
that referenced
this issue
Oct 27, 2023
therajanmaurya
pushed a commit
that referenced
this issue
Oct 27, 2023
therajanmaurya
pushed a commit
that referenced
this issue
Oct 27, 2023
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Nov 3, 2023
3 tasks
PratyushSingh07
added a commit
to PratyushSingh07/mifos-mobile
that referenced
this issue
Nov 4, 2023
3 tasks
therajanmaurya
pushed a commit
that referenced
this issue
Dec 28, 2023
therajanmaurya
pushed a commit
that referenced
this issue
Dec 28, 2023
therajanmaurya
pushed a commit
that referenced
this issue
Jan 17, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
SekhGulamMainuddin
pushed a commit
to SekhGulamMainuddin/mifos-mobile
that referenced
this issue
Feb 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary:
StateFlow offers several advantages over LiveData. First, StateFlow promotes immutability, ensuring that its data remains unchanged once set, which enhances code reliability. Unlike LiveData, StateFlow seamlessly integrates with Kotlin's coroutines, providing powerful asynchronous programming capabilities. StateFlow handles backpressure efficiently, preventing issues related to data overflow. Additionally, StateFlow benefits from Kotlin's Flow API, offering a wide array of transformation operators for data manipulation. Lastly, StateFlow is highly testable, enabling developers to write unit tests effectively. These advantages make StateFlow a robust choice for managing and observing data streams in Android applications, especially in Kotlin-based projects.
Viewmodels that needs to be converted in this issue will be :
It is really important that during this refactoring we dont loose our test coverage. Since the unit tests were written for livedata , the test classes will now have to be changed to support stateflows
The text was updated successfully, but these errors were encountered: