Comments (6)
Suggested modules:
- mvvm-viewmodel (viewmodel, eventdispatcher)
- mvvm-livedata (livedata, transform, state)
- mvvm-databinding (all databinding, depends on viewmodel, livedata)
- mvvm (depends on all modules)
from moko-mvvm.
I would also like to see the equivalent for https://developer.android.com/jetpack/compose/state#viewmodel-and-jetpack-compose
from moko-mvvm.
@ln-12 what exactly you like to see? moko-mvvm provide original jetpack's viewmodels, so all integration with compose is already available
from moko-mvvm.
@Alex009 For example the ViewModel for login feature
section in the readme only deals with data bindings. It would be nice to see it with compose :)
from moko-mvvm.
Suggested modules:
- mvvm-viewmodel (viewmodel, eventdispatcher)
- mvvm-livedata (livedata, transform, state)
- mvvm-databinding (all databinding, depends on viewmodel, livedata)
- mvvm (depends on all modules)
for mvvm-viewmodel
I think viewmodel
should be a mandatory part of mvvm
architecture at leas because the last 2 letters from mvvm
means viewmodel
. Also I think another dependencies(like databinding or uicompose) should be delivered separately because they have nothing in common with mvvm
principles, they should act more like additional helper tools, maybe connected like plugins(like gson-converter for retrofit). That means less dependencies and less potential dependencies conflicts and frustrations on consumer projects.
from moko-mvvm.
will be released in 0.9.0
from moko-mvvm.
Related Issues (20)
- Library not loaded error for compose multiplatform HOT 4
- Is it supported in web and desktop as well? HOT 4
- viewModelScope.launch {...} not executed again when exception occurred HOT 5
- ios m.leaks HOT 1
- Support removeSource HOT 1
- How to invoke ld function on Android platform
- please help me
- js web getviewmodel error HOT 1
- support native kotlin HOT 1
- Build error for IOS multiplatform HOT 1
- Cannot inline bytecode built with JVM target HOT 3
- Use mokoMvvmFlowSwiftUI with framework HOT 6
- Support for wasm HOT 1
- Can I integrate koin in compose multiplatform with koin ViewModel?? HOT 8
- CATASTROPHIC ERROR: MvvmFragment -- When Observing with Moko LiveData and using Android Binding Framework HOT 5
- Swift: Can't access bindTextTwoWay Extension Functions for Live Data HOT 1
- Compile Error : JVM target 11 into bytecode that is being built with JVM target 1.8 HOT 4
- iOS action handling not working more times (maybe lifecycle issue)
- Can't run MacOS version of the app
- [WEB] Function 'getViewModel' can not be called: No function found for symbol 'dev.icerock.moko.mvvm.compose/getViewModel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moko-mvvm.