moko-mvvm

Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development

APACHE-2.0 License

Stars
1K

Bot releases are hidden (Show)

moko-mvvm - Release 0.9.1

Published by Alex009 over 3 years ago

Changes

  • Removed unnecessary properties from viewbinding MvvmFragment #96
  • fix unsupported nullable livedata on ios #100

ATTENTION

new iOS livedata binding extensions was renamed to fix invalid method calls from swift side.

Thanks

@Dorofeev @Tetraquark @ATchernov

moko-mvvm - Release 0.9.0

Published by Alex009 almost 4 years ago

Changes

  • #65 library separated to multiple artifacts: mvvm-core, mvvm-livedata, mvvm-state, mvvm-test. Also only for android available: mvvm-databinding, mvvm-viewbinding, mvvm-livedata-material, mvvm-livedata-glide, mvvm-livedata-swiperefresh. Also mvvm module still exist, and depends on core, livedata, state-deprecated, databinding
  • #77 fix IDE error in databinding android classes
  • #47 State renamed to ResourceState in new module mvvm-state. To backward compatibility now mvvm depends on mvvm-state-deprecated with old named class
  • #60 Flow.asLiveData
  • #76 ViewBinding support
  • dokka generated documentation - https://icerockdev.github.io/moko-mvvm/
  • detekt lint
  • new bintray publish plugin (without false-error state)
  • new module mvvm-test for unit testing mvvm classes

IMPORTANT

now for iOS required export not one mvvm module, but multiple - mvvm-core, mvvm-livedata, mvvm-state

moko-mvvm - Release 0.8.1

Published by Alex009 almost 4 years ago

Changes

  • #83 update to kotlin 1.4.21 (and coroutines 1.4.2)
  • #74 fix versions in podspec
  • #71 add ability to set placeholder image on ios bind image
  • #72 fix memory leak on android
  • #70 fix swift 5 support

Thanks

@IgnacioCarrionDev , @Dorofeev

moko-mvvm - Release 0.8.0

Published by Alex009 about 4 years ago

Changes

  • Kotlin 1.4.0
  • project configuration with dependencySubstitution and includeBuild
moko-mvvm - Release 0.7.1

Published by Tetraquark about 4 years ago

Bug fixes:

  • Bug with creating extra LiveData's in flatMap was fixed (#53)
moko-mvvm - Release 0.7.0

Published by Alex009 over 4 years ago

  • Up moko-resources to 0.11.0
  • Up kotlin to 1.3.72
  • Up coroutines to 1.3.7
  • Up android arch components to 2.1.0
  • Added unit tests of basic LiveData
moko-mvvm - Release 0.6.0

Published by Alex009 over 4 years ago

  • kotlin 1.3.70
  • android gradle plugin 3.6.1
  • gradle 5.6.4
moko-mvvm - Release 0.5.0

Published by Alex009 over 4 years ago

Changes

  • added Dispatchers.UI in public API #26
  • EventsDispatcher can be created from common code and now cache iOS events while listener not attached #12
  • ViewModel.onCleared call GC.collect on iOS #23
  • fix readme install #7
  • ios binding to views logic moved to kotlin #11

Thanks

@Dorofeev

moko-mvvm - Release 0.4.0

Published by Alex009 almost 5 years ago

  • update to kotlin 1.3.61
  • LiveData.debounce moved to coroutines Flow version (remove moko-core dependency)
  • android minsdk down to api 16
  • EventsDispatcher for iOS not require listener in constructor (can be set later)
  • CI configured
moko-mvvm - 0.3.1

Published by Alex009 almost 5 years ago

allow call of onCleared from ios-kotlin code

moko-mvvm - 0.3.0

Published by Alex009 almost 5 years ago

  • ViewModel.coroutineScope renamed to ViewModel.viewModelScope like in Android Architecture Components;
  • UIDispatcher on iOS now support doOnTimeout. Implemented invokeOnTimeout;
  • LiveData<T>.asFlow(): Flow<T> added.
Package Rankings
Top 11.95% on Repo1.maven.org
Badges
Extracted from project README's
Related Projects