Instagram client
Please review . /cc @codepathreview @codepath
Instagram client assignment. Date 10/27/2015
Submitted by: Prajakta Shitole
Time spent: 6 hours spent in total
User Stories
The following required functionality is completed:
- User can scroll through the popular posts from Instagram.
- For each post displayed, user can see the following details:
Graphic, Caption, Username, User profile image
Relative timestamp, Like count
Display each user profile image as a circle.
Display a nice default placeholder graphic for each image during loading.
- Connect the app with the Instagram API and get real time data using async-http-client library.
- Show the last 2 comments for each photo.
- User can view all comments for a post within a separate activity.
- User can share an image to their friends or email to themselves.
- Robust error handling, check if internet is available, handle network failures.
- Day 3
- User can login to Instagram using OAuth login.
- User can view their own feed.
- User can search for a user by username.
- User can search for a tag.
- On the search screen, there will now be 2 tabs corresponding to "USERS" and "TAGS".
- When performing a search, the user can switch between the "USERS" tab and the "TAGS" tab and see search results for each one.
- Day 4
- Add pull-to-refresh for the home feed with SwipeRefreshLayout.
- User can open the Instagram client offline and see last loaded feed.
- Each media item is persisted into SQlite and can be displayed from the local DB.
- Create a background service to make the network request, load items into the DB and populate the view (for the user's home feed).
Optional Features to be added in future
Video Walkthrough
Here's a walkthrough of implemented user stories:
Located at
https://github.com/prajaa/MyInstagramClient/blob/master/app/src/main/res/drawable and appended by day.gif
https://github.com/prajaa/MyInstagramClient/blob/master/app/src/main/res/drawable/day2.gif
app/src/main/res/drawable/instagramday1.gif
https://github.com/prajaa/MyInstagramClient/blob/master/app/src/main/res/drawable/instagramday1.gif
GIF created with LiceCap.