Tweetzt displays the Tweets from your Timeline. The app utilizes the Twitter REST API.
Submitted by: Rakesh Nair Paruthikkat
Time spent: 16 hours spent in total
The following required functionality is completed:
- User can sign in to Twitter using OAuth login
- 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
- User can click a "Compose" icon in the AppBar 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
- Newly created tweet should be manually inserted into the timeline and not rely on a full refresh
- User can view their home timeline tweets.
- User can view the recent mentions of their username.
- User can see picture, tagline, # of followers, # of following, and tweets on their profile.
- User can see picture, tagline, # of followers, # of following, and tweets of clicked user.
- Profile view displays the user's timeline
- User can infinitely paginate any of these timelines (home, mentions, user) by scrolling to the bottom
The following optional features are implemented:
- Robust error handling, check if internet is available, handle error cases, network failures.
- While composing a tweet, user can see a character counter with characters remaining for tweet out of 140
The following bonus features are implemented:
- Compose tweet functionality is build using Fragements
- Replace all icon drawables and other static image assets with vector drawables where appropriate
- On the Twitter timeline, leveraged the CoordinatorLayout.
- On the profile screen, leverage the CoordinatorLayout to apply scrolling behavior as the user scrolls through the profile timeline
Here's a walkthrough of implemented user stories:
- Picasso - Image loading and caching library for Android
- picasso transformations - An Android transformation library providing a variety of image transformations for Picasso
- Like Button - Like Button library.
- Async Http client for Android - An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.
- CodePath OAuth Handler - This library is an Android library for managing OAuth requests
Copyright [2017] [Rakesh Nair Paruthikkat]
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.