Coder Social home page Coder Social logo

twittah's Introduction

twittah for Android

twittah is an Android client for Twitter. This is a project for the CodePath Intro to Android Bootcamp which you can sign up for at (http://codepath.com/androidbootcamp).

Time spent: 31 hours spent in week 1, 49 hours spent in week 2

Required user stories:

  • Required: User can sign in to Twitter using OAuth login
  • Required: User can view the tweets from their home timeline
    • User can see the username, name, body and timestamp for each tweet
    • User sees the relative timestamp for a 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
  • Required: 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
    • Optional: Total number of characters left turn red when user is close to reaching limit
    • Extra: Tweet button is disabled when tweet is over character limit
  • User can switch between Timeline and Mention views using tabs.
    • User can view their home timeline tweets.
    • User can view the recent mentions of their username.
    • User can scroll to bottom of either of these lists and new tweets will load ("infinite scroll")
    • Optional: Implement tabs in a gingerbread-compatible approach
  • User can navigate to view their own profile
    • User can see picture, tagline, # of followers, # of following, and tweets on their profile.
  • User can click on the profile image in any tweet to see another user's profile.
    • User can see picture, tagline, # of followers, # of following, and tweets of clicked user.
    • Profile view should include that user's timeline
    • Optional: User can view following / followers list through the profile

Optional user stories:

  • 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
  • Advanced: Robust error handling, check if internet is available, handle error cases, network failures
  • Advanced: When a network request is sent, user sees an indeterminate progress indicator
  • Advanced: User can "reply" to any tweet on their home timeline
    • The user that wrote the original tweet is automatically "@" replied in compose
  • Advanced: User can search for tweets matching a particular query and see results
  • Bonus: User can view their direct messages (or send new ones)
  • Extra: User can click "skip to top" button to jump to most recent tweet in the currently viewed timeline

Notes:

Had to disable ActionBar custom styling theme in order to prevent app crashes at login. Will revisit theme syntax to correct.

Optimized pagination performance with ViewHolder pattern.

Walkthrough of all user stories:

Week 2 implementation:
Video walkthrough

Week 1 implementation:
Video Walkthrough

GIF created with LiceCap.

twittah's People

Contributors

wangela avatar

Watchers

 avatar  avatar  avatar

twittah's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.