Android MVVM Architecture: Sample App
This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava, FastAndroidNetworking, PlaceHolderView and AndroidDebugDatabase
The app has following packages:
- data: It contains all the data accessing and manipulating components.
- di: Dependency providing classes using Dagger2.
- ui: View classes along with their corresponding ViewModel.
- utils: Utility classes.
Classes have been designed in such a way that it could be inherited and maximize the code reuse.
Library reference resources:
- Dagger2: https://github.com/janishar/android-dagger2-example
- PlaceHolderView: https://github.com/janishar/PlaceHolderView
- Calligraphy: https://github.com/chrisjenx/Calligraphy
- Room: https://developer.android.com/topic/libraries/architecture/room.html
Concept reference resources:
- Introduction to Dagger 2: Part 1
- Introduction to Dagger 2: Part 2
- Android Dagger2: Critical things to know before you implement
- Android Tinder Swipe View Example
- RxJava Anatomy: What is RxJava, how RxJava is designed, and how RxJava works.
Check here
Looking for Kotlin MVP Architecture -Check here
Looking for MVP Architecture -License
Copyright (C) 2022 JANISHAR ALI ANWAR
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.
Contributing to Android MVVM Architecture
Just make pull request. You are in!