Awesome Open Source
Awesome Open Source

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
  • Material Theme
  • Room
  • MVVM
  • Dagger 2
  • Retrofit
  • LiveData
  • 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.


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Kotlin (59,535)Β 
Android (40,852)Β 
Material Design (3,472)Β 
Dark Theme (1,480)Β 
Rxjava2 (1,345)Β 
Mvvm Architecture (1,166)Β 
Livedata (928)Β 
Retrofit (765)Β 
Gson (371)Β 
Android Architecture Components (307)Β 
Dagger2 Android (249)Β 
Related Projects
Advertising πŸ“¦Β 9
All Projects
Application Programming Interfaces πŸ“¦Β 120
Applications πŸ“¦Β 181
Artificial Intelligence πŸ“¦Β 72
Blockchain πŸ“¦Β 70
Build Tools πŸ“¦Β 111
Cloud Computing πŸ“¦Β 79
Code Quality πŸ“¦Β 28
Collaboration πŸ“¦Β 30
Command Line Interface πŸ“¦Β 48
Community πŸ“¦Β 81
Companies πŸ“¦Β 60
Compilers πŸ“¦Β 60
Computer Science πŸ“¦Β 74
Configuration Management πŸ“¦Β 39
Content Management πŸ“¦Β 167
Control Flow πŸ“¦Β 197
Data Formats πŸ“¦Β 77
Data Processing πŸ“¦Β 266
Data Storage πŸ“¦Β 132
Economics πŸ“¦Β 60
Frameworks πŸ“¦Β 198
Games πŸ“¦Β 122
Graphics πŸ“¦Β 103
Hardware πŸ“¦Β 148
Integrated Development Environments πŸ“¦Β 47
Learning Resources πŸ“¦Β 147
Legal πŸ“¦Β 28
Libraries πŸ“¦Β 119
Lists Of Projects πŸ“¦Β 21
Machine Learning πŸ“¦Β 336
Mapping πŸ“¦Β 61
Marketing πŸ“¦Β 15
Mathematics πŸ“¦Β 55
Media πŸ“¦Β 228
Messaging πŸ“¦Β 97
Networking πŸ“¦Β 304
Operating Systems πŸ“¦Β 84
Operations πŸ“¦Β 120
Package Managers πŸ“¦Β 52
Programming Languages πŸ“¦Β 229
Runtime Environments πŸ“¦Β 96
Science πŸ“¦Β 42
Security πŸ“¦Β 375
Social Media πŸ“¦Β 26
Software Architecture πŸ“¦Β 70
Software Development πŸ“¦Β 68
Software Performance πŸ“¦Β 57
Software Quality πŸ“¦Β 127
Text Editors πŸ“¦Β 45
Text Processing πŸ“¦Β 131
User Interface πŸ“¦Β 310
User Interface Components πŸ“¦Β 465
Version Control πŸ“¦Β 29
Virtualization πŸ“¦Β 68
Web Browsers πŸ“¦Β 38
Web Servers πŸ“¦Β 25
Web User Interface πŸ“¦Β 194