Instagram Project is a mini version of real Instagram app for Android π± built with latest Android Development Tools. I have made this as my final project in MindOrks Professional Android Developer Course. Check the course here. β€οΈ
This app is a tailored version of real Intagram Android app with features like Check Post, Like/DisLike Posts, Profile, Upload Post through Camera and throuh Gallery and also supported by Dark Mode π and also have the ability of offline capability.
- Kotlin
RxAndroid/RxJavaKotlin Coroutines- Material Theme
- Room
- MVVM
- Dagger 2
- Retrofit
- LiveData
- Flow
- SharedFlow
- Glide
- Android Architecture Components
Kotlin SyntheticsviewBindings
Testing is already in progress. Some tests are already written others are on their way.
com.hashim.instagram # Root Package
βββ data # For data handling.
β βββ local # Local
| β βββ db # Persistence Database. Room database
| | | βββ dao # Dao related classes
| | | βββ entity # Local Database tables
| | |
| | βββprefs # Shared Prefrences
| |
β βββ remote # Remote Data Handlers and Retrofit API for remote end point
| β βββ request # Request Ojects required for Api
| | βββ response # Response Objects for Api
| |
β βββ repository # Single source of data.
| |
| βββ model # Model classes required through out the app
|
βββ di # Dagger 2 Dependency Injection
β βββ component # DI Components
β βββ module # DI Modules
|
βββ ui # Activity/View layer
β βββ base # Base Classes for Activity/Fragment/ViewHolder/Adapter/Dialog
β βββ main # Main Activity & ViewModel
| βββ home # Home Fragment & ViewModel
| β βββ post # ViewHolder & RecyclerView for Posts
| | βββ likeduser # ViewHolder & RecyclerView for all users who liked specific post
β βββ login # Login Activity & ViewModel
β βββ signup # Signup Activity & ViewModel
β βββ splash # Splash Activy & ViewModel
| βββ photo # Photo Fragment & ViewModel
| β βββ gallery # ViewHolder & RecyclerView for Gallery
β βββ profile # Profile Fragment & ViewModel
| βββ editprofile # Edit Profile Activity & ViewModel
| βββ userposts # ViewHolder & RecyclerView for all images which user uploaded
| βββ settings # Setting Dialog & ViewModel
|
βββ utils # Utility Class for Utility Functions
β βββ common # helper functions
β βββ display # related to screen
β βββ log # related to Logging
| βββ network # related to networking
| βββ rx # related to RxAndroid
|
βββ InstagramApplication.kt # Application Class
This app uses MVVM (Model View View-Model) architecture.
If you want to tell me about bug, you're always welcome! β€οΈ
If you need any help, you can connect with me. β€οΈ β€οΈ β€οΈ
Visit:- hashimshafiq.github.io
Copyright (c) 2020 Muhammad Hashim Shafiq
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.