• Post Reply Bookmark Topic Watch Topic
  • New Topic

Add a progress bar to an ExpandableListView  RSS feed

Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I'm developing my first android project and I'm using an ExpandableListView to display my tasks by project.I also need to show the task's completion percentage inside the nodes in the form of a progress bar.
I'm facing two big obstacles :

* First,i'm using SimpleExpandableListAdapter as my adapter and it only allow <String,String> maps,how can i get my java object without searching the query result list each time ?
I thought about adding the task ID as an invisible attribute,but i would still have to search my task's list to obtain the java object.

*Second,which widget could i use to display the completion percentage as a progress bar and how can i do this ?

Thanks a lot.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!