Skip to content

Instagram Project is a mini version of real Instagram app for Android πŸ“± built with latest Android Development Tools. Kotlin, MVVM, LiveData, GSON, Retrofit, Dagger2

License

Notifications You must be signed in to change notification settings

hashimshafiq/Instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Instagram πŸ“·

CI for Android

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. ❀️

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 πŸŒ— and also have the ability of offline capability.

Built by πŸ”¨

  • Kotlin
  • RxAndroid/RxJava Kotlin Coroutines
  • Material Theme
  • Room
  • MVVM
  • Dagger 2
  • Retrofit
  • LiveData
  • Flow
  • SharedFlow
  • Glide
  • Android Architecture Components
  • Kotlin Synthetics viewBindings

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.

About

Instagram Project is a mini version of real Instagram app for Android πŸ“± built with latest Android Development Tools. Kotlin, MVVM, LiveData, GSON, Retrofit, Dagger2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages