Twitter is an android app that allows a user to log in to their Twitter account, view their home timeline, and post a tweet.
Submitted by: Tess Van Daele
Time spent: 12 hours spent in total
The following required functionality is completed:
- User can log in to their Twitter account
- User can view and scroll through the home timeline to view the tweets of users they follow
- User can post a tweet to their account and view their character limit as they type
- User can log out of their Twitter account
- User can pull upward to refresh their timeline
- User can view images in tweets
The following bonus features are implemented:
-
Additional UI features were added:
- Twitter icons and coloring were added where applicable - A toolbar was added for easy navigation between actions
-
User can view more tweets as they scroll with endless scrolling
-
A modal overlay was used for the compose screen
Here's a walkthrough of implemented user stories:
GIF created with LiceCAP.
Implementing the modal overlay was challenging to understand since I could no longer use Intents which is something I am more comfortabe with. Instead, using the DialogListener allowed me to recreate the bahavior I was creating with Intents. Specifically, the use of an interface ensured that a posted tweet would be passed back to the timeline activity for updating.
Copyright 2021 Tess Van Daele
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.