Project 2 - Tweeter

Tweeter is an android app that allows a user to view their Twitter timeline. The app utilizes Twitter REST API.

Time spent: 10 hours spent in total

User Stories

The following required functionality is completed:

  • User can sign in to Twitter using OAuth login
  • User can view tweets from their home timeline
    • User is displayed the username, name, and body for each tweet
    • User is displayed the relative timestamp for each tweet "8m", "7h"
  • User can refresh tweets timeline by pulling down to refresh

The following optional features are implemented:

  • User can view more tweets as they scroll with infinite pagination
  • User can tap a tweet to display a "detailed" view of that tweet
  • User can open the twitter app offline and see last loaded tweets
  • On the Twitter timeline, leverage the CoordinatorLayout to apply scrolling behavior that hides / shows the toolbar.
  • Replace all icon drawables and other static image assets with vector drawables where appropriate.
  • User can see embedded image media within the tweet detail view
  • User sees an indeterminate progress indicator when any background or network task is happening
  • User can see embedded image media within a tweet on list or detail view.
  • User can click a link within a tweet body on tweet details view. The click will launch the web browser with relevant page opened.
  • User can view following / followers list through any profile they view.
  • User is using "Twitter branded" colors and styles

The following additional features are implemented:

  • List anything else that you can get done to improve the app functionality!

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with [LiceCap](http://www.cockos.com/licecap/).

Notes

Describe any challenges encountered while building the app.

  • Understanding the concepts for the timestamp.
  • Time in general.

Open-source libraries used

  • Android Async HTTP - Simple asynchronous HTTP requests with JSON parsing
  • Glide - Image loading and caching library for Android

License

Copyright [2020] [melonpocky]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.