开发者

dynamically fill ListActivity

开发者 https://www.devze.com 2022-12-10 20:25 出处:网络
There is a thread that fills the db and I am trying开发者_JAVA技巧 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

There is a thread that fills the db and I am trying开发者_JAVA技巧 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.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消