๐ท
Instagram
Instagram Project is a mini version of real Instagram app for Android
About the App
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
๐จ
Built by - 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.
Project Structure
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
Architecture
This app uses MVVM (Model View View-Model) architecture.
๐ป
Bugs? If you want to tell me about bug, you're always welcome!
Contact
If you need any help, you can connect with me.
Visit:- hashimshafiq.github.io
License
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.