views:

161

answers:

1

Hello Guys,

sorry for this dumb question, but i am really stuck...

the thing is i am trying to create a todo list application on android.

I am stuck because at the moment I dont know the way to create many todo lists. I have created the GUI for one list, using listview. entries of the list are added by the user when running the application. Particularly i dont know how to pass a list object, if i create new one.

please, could you give me any hints?

+1  A: 

Probably the simplest way would be set new data set adapter with setAdapter() method, but depending on Your app requirements changing updating dataset could be better option ( http://developer.android.com/reference/android/widget/ListAdapter.html).

If You need have all list and only change them diuring runtime it could be good idea to have multiple listview and change only their visibility (I suggest using tabs http://developer.android.com/resources/tutorials/views/hello-tabwidget.html)

Maciek Sawicki
oh thank you very much for the tips!!! very appreciated! i will try to use both first and pick the one which is better fitting!!thank you very much (bowing)
Bugzy bug