Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

Siva Ganesh
Siva Ganesh
23,733 Points

Simple App with Listing and data auto update

I want to build an android app to list 3 or 4 details on a single page (and link to each of its own website) . Every day, the listing will be updated.

What is the simplest way to build this sort of app.

(I'm trying to validate my idea as an MVP product)

2 Answers

Use Model view controller pattern.

Make android list view as your view. Your List Activity as controller and Create a data model for you news.

Update your data model and it will automatically update your listing.

Siva Ganesh
Siva Ganesh
23,733 Points

How to update data since it changes daily..

There are multiple ways, the easiest one of them is disply the current data to user and in backgroung(thread) check for update, if there is an update update list. You can use files to save the current data which is displayed in list. You can use java network library to get data from network. You will find good tutorials for the same on internet.