项目作者: kaloglu

项目描述 :
This is an experimental project which aims to help developers to build android apps with less boilerplate code. You are welcome to open issues or PRs
高级语言: Kotlin
项目地址: git://github.com/kaloglu/libraries.git
创建时间: 2020-02-16T16:28:38Z
项目社区:https://github.com/kaloglu/libraries

开源协议:

下载


Wiki for databinding4vm


This is an experimental project which aims to help developers to build android apps with less boilerplate code.

You are welcome to open issues or PRs

ktx:1.1.0 = Useful extensions, needed in every Android project.

  • Currently : date, string, simple animations for view, etc.
  • In Progress : fragment, dialog, adapter and more…
    1. implementation 'com.github.kaloglu.libraries:ktx:latestVersion'
    ui:1.1.0 = Provides ready-to-use base classes with default implementations, you can extend recycler items and define their actions easily or just give a layout and let the library handle your dialogs.
    1. implementation 'com.github.kaloglu.libraries:ktx:latestVersion' //required
    2. implementation 'com.github.kaloglu.libraries:ui:latestVersion'

viewmodel:1.1.0 = (Experimental) Provides DataBinding abilities for other libraries. With combination of these libraries, you can create RecyclerViews with just one line of code or any changes in ViewModel automatically triggers data binding methods. You can reduce the amount of code you need to write

  1. implementation 'com.github.kaloglu.libraries:ktx:latestVersion' //required
  2. implementation 'com.github.kaloglu.libraries:ui:latestVersion' //required
  3. implementation 'com.github.kaloglu.libraries:viewmodel:latestVersion'

databinding4vm:1.1.0 = (Experimental) Provides DataBinding abilities for other libraries. With combination of these libraries, you can create RecyclerViews with just one line of code, any changes in ViewModel automatically triggers data binding methods

  1. implementation 'com.github.kaloglu.libraries:ktx:latestVersion' //required
  2. implementation 'com.github.kaloglu.libraries:ui:latestVersion' //required
  3. implementation 'com.github.kaloglu.libraries:viewmodel:latestVersion' //required
  4. implementation 'com.github.kaloglu.libraries:databinding4vm:latestVersion'

Full sample for databinding4vm : https://github.com/kaloglu/androtweet