3 Sided Cube Android Development Course: Week 3

This week we added more features to the list we created last week in order to make a scrollable and selectable newsfeed timeline.


In the Main Activity we addded some listeners that display the position of the item and the duration of the click when an item in the array of stories is clicked.


The story activity has been set up to contain information such as the title and summary.


We also had a go at modifying the story view to get different effects on parts of the story. The header here is in blue and the summary is in red.


3 Sided Cube: Android Development Course- Week 2

This week we learned how to make a list view to display a scrollable list of items and create layouts. We also learned about keyboard shortcuts to quicken our workflow methods. CTRL + SPACE gives suggestions on the variable you are typing and documentation for that selection. ALT + ENTER is a quick fix shortcut that can do things like importing missing classes. CTRL + ENTER opens the Generate menu which allows you to override methods or generate getters and setters. CTRL + P shows what parameters a method takes.

Layouts use xml to arrange views on screen, it is very similar to html. App development uses dp (density pixels) for measurement as it scales between different devices.

To display a list we used an array adapter and then added some parameters to this in order to be able to get information from and manipulate the list items later.