The AndroidMvvmHelper library is a set of basic classes for convenient work with MVVM. We strongly recommend you to read our blog post about how to make an MVVM architecture in Android
This helper-library includes classes for working with Activity (BindingActivity
and ActivityViewModel
), and with Fragment (BindingFragment
and FragmentViewModel
), which already have binding logic, and the necessary methods for callbacks are also defined.
via Gradle:
compile 'com.github.stfalcon:androidmvvmhelper:0.4'
or Maven:
<dependency>
<groupId>com.github.stfalcon</groupId>
<artifactId>androidmvvmhelper</artifactId>
<version>0.4</version>
<type>pom</type>
</dependency>
Copyright (C) 2017 stfalcon.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.