Mojo Risin
Mojo Risin

Reputation: 8142

dynamically fill ListActivity

There is a thread that fills the db and I am trying to make my ListActivity to grow dynamically according to the entries in the db. By dynamically I mean to grow in real time while the db is filling.

What is the best way to implement this.

Upvotes: 1

Views: 373

Answers (2)

Mojo Risin
Mojo Risin

Reputation: 8142

http://www.androidguys.com/2009/10/21/tutorial-autogrowing-listview/ this is just what i was looking for.

Upvotes: 3

Nikolay Ivanov
Nikolay Ivanov

Reputation: 8935

I think that you need is ListView with an adapter which will extend android.widget.CursorAdapter.

Upvotes: 0

Related Questions