Source code for Simple login app - Here We can login through Facebook and Google by proving our suitable password.And there is also logout option is there using architecture component.
- Kotlin - First class and official programming language for Android development.
- Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- Room data base - For Database related activity.
- Material Components for Android - Modular and customizable Material Design UI components for Android.
- Google login for Android - login using google account for Android.
- Facebook login for Android - login using facebook account for Android.
com.android.microblogapp # Root Package
.
├── data # For data handling.
│ ├── local # Local Data Handlers
| │ ├── db # databse related activity.
├── prefs # local file system for saving data.
└── model # POJO classes
│ └── repository # Single source of data.
|
├── model # Model classes
|
├── di # Dependency Injection
│ ├── builder # Activity Builder
│ ├── component # DI Components
│ └── module # DI Modules
|
├── ui # Activity/View layer
│ ├── base # Base View
|
│ ├── home # User login Activity & ViewModel
| │
│ └── main # User main Activity & ViewModel
|
└── utils # Utility Classes / Common classes / Rx / display
This app uses MVVM (Model View View-Model) architecture.