This is an Android demo application for interacting with Twitter using the Twitter API.
Time spent: 16 hours spent in total
Completed user stories:
- User can sign in to Twitter using OAuth login
- User can view the tweets from their home timeline
- User should be displayed the username, name, and body for each tweet
- User should be displayed the relative timestamp for each tweet "8m", "7h"
- User can view more tweets as they scroll with infinite pagination
- Optional: Links in tweets are clickable and will launch the web browser (see autolink)
- User can compose a new tweet
- User can click a "Compose" icon in the Action Bar on the top right
- User can then enter a new tweet and post this to twitter
- User is taken back to home timeline with new tweet visible in timeline
- Optional: User can see a counter with total number of characters left for tweet
The following advanced user stories are optional:
- Advanced: User can refresh tweets timeline by pulling down to refresh (i.e pull-to-refresh)
- Advanced: User can open the twitter app offline and see last loaded tweets
- Tweets are persisted into sqlite and can be displayed from the local DB
- Advanced: User can tap a tweet to display a "detailed" view of that tweet
- Advanced: User can select "reply" from detail view to respond to a tweet
- Advanced: Improve the user interface and theme the app to feel "twitter branded"
- Bonus: User can see embedded image media within the tweet detail view
- Bonus: Compose activity is replaced with a modal overlay
Walkthrough of all user stories:
GIF created with LiceCap.
