Android’s Data Binding with MVVM pattern (Kotlin lanaguage , support androidx)
Are you looking for databinding sample source code? (You can learn my code. In my project. I 'd written by Databinding with MVVM pattern.)
- Step 1. Data fetch from server (Mock api) ** Using OkHttp and Retrofit 2
- Step 2. Response data save in local database ** Using Room Persistence Library
- Step 3. Offline Data show with Recyclerview Loading partial data ** Using Paging Library
- Step 4. Swith Theme - Dark Night ** Using AppCompactDelegate
- Step 5. Project Framework using MVVM Pattern with Databinding
WHAT IS MOCK API? MockAPI is a simple tool that lets you easily mock up APIs, generate custom data, and preform operations on it using RESTful interface. MockAPI is meant to be used as a prototyping/testing/learning tool.
This is free mock api website https://mockapi.io/
- Android Support Library
- Android Architecture Components
- Android Data Binding
- Coroutines for Coroutines
- Retrofit for REST api communication
- Glide for image loading
- GSON for json convert
- Room Persistence Library for Offline Data
- Paging for bounded data source
- MVVM architecture for clean Architecture
Copyright 2019 dev-mgkaung
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.