File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Add a progress bar to an ExpandableListView Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Add a progress bar to an ExpandableListView " Watch "Add a progress bar to an ExpandableListView " New topic
Author

Add a progress bar to an ExpandableListView

Mehdi Ben Larbi
Ranch Hand

Joined: Aug 17, 2010
Posts: 70
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.


SCJP 93 % ,preparing for SCWCD
 
 
subject: Add a progress bar to an ExpandableListView
 
Threads others viewed
ProgressMonitor not popping up
How to Use Image
internet Explorer cannot open this site error with pageLoad progressbar
How to use a JProgress Bar
regarding JFree charts and Cewolf
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture