I am using sax parser in android and i am displaying the content parsed into a custom list view which even contains an image.
The image is loading very slowly and thereby my list which contains 10 elements are displayed after few minutes and even if the list loads to scroll the image its taking time saying that My SAX parser app is not responding.
Is there any way to make the images to display fast and make the app respond properly on scrolling the list?
Thanks in advance.
*sharath*
0
Junior Poster in Training
Recommended Answers
Jump to PostYou can use either AsyncTask or even better Loader (unlike AsyncTask Loader is not restarted on orientation change that does trigger multiple requests) to to manage downloading process and in same time to indicate to user that this is downloaded content and it will be displayed once finished
Jump to PostYou should start reading more API documentation instead of trying to hack away solution from code you will find on internet as you are missing basic concepts. AsyncTask and Loader already acomodate threading, secondly while they are doing something you are able to show progress bar or any custom loading …
Jump to Postdoes your image has high mega pixels....?
All 12 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
*sharath*
0
Junior Poster in Training
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
*sharath*
0
Junior Poster in Training
*sharath*
0
Junior Poster in Training
sheikhali449
0
Junior Poster
*sharath*
0
Junior Poster in Training
*sharath*
0
Junior Poster in Training
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
*sharath*
0
Junior Poster in Training
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
*sharath*
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.