https://github.com/samsetdev/sharedviewmodel
In android, we can use ViewModel to share data between various fragments or activities by sharing the same ViewModel among all the fragments and they can access everything defined in the ViewModel. This is one way to have communication between fragments or activities
https://github.com/samsetdev/sharedviewmodel
Last synced: 9 months ago
JSON representation
In android, we can use ViewModel to share data between various fragments or activities by sharing the same ViewModel among all the fragments and they can access everything defined in the ViewModel. This is one way to have communication between fragments or activities
- Host: GitHub
- URL: https://github.com/samsetdev/sharedviewmodel
- Owner: SamsetDev
- License: apache-2.0
- Created: 2022-12-09T22:27:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T22:34:24.000Z (about 3 years ago)
- Last Synced: 2023-03-02T09:37:00.426Z (almost 3 years ago)
- Language: Kotlin
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0