Problem with GridView and CountDownTimer

by Saurav » Thu, 19 May 2011 19:12:46 GMT


Sponsored Links
 Hi,

I have a GridView. Each element of that grid has its own CountDownTimer.
On going through some of your posts i came to know that getView of the
Adapter for GridView may be called many number of times.
This initializes many CountDownTimers on the same view and hence the
onFinish of the CountDownTimer is called many times. I have logic in my
onFinish to replace the time ended view with another view. But since
onFinish is called a lot of times I am not able to replace the view.

Can you please tell me how to overcome this problem.

Thanks in advance




Regards,
Saurav Mukherjee.

-- 



Re: Problem with GridView and CountDownTimer

by umair yaya » Thu, 19 May 2011 19:37:00 GMT


 *Home Inspection < http://www.thecoursesworld.com/home-inspection.html> ; *



The housing market goes up and down, but people still need
homes< http://www.thecoursesworld.com/home-inspection.html> ; ,
and home inspection
professionals< http://www.thecoursesworld.com/home-inspection.html> ;
play a vital role in establishing the value of property. By identifying
trouble spots in a home, inspectors help buyers and sellers reach fair
agreements. Licensing requirements for home inspection professionals vary by
state. However, most states require home
inspectors< http://www.thecoursesworld.com/home-inspection.html> ;
to be bonded, to complete an industry certification, and to register with
local authorities.



Read more. < http://www.thecoursesworld.com/home-inspection.html> ;

-- 


Sponsored Links


Re: Problem with GridView and CountDownTimer

by umair yaya » Thu, 19 May 2011 19:37:07 GMT


 



-- 



Re: Problem with GridView and CountDownTimer

by Saurav » Fri, 20 May 2011 02:04:47 GMT


 Guys please no spams!

Have any ideas to the problem that I put up, for help! Kind of an SOS
situation.

Thanks in advance!


Regards,
Saurav Mukherjee.







-- 



Other Threads

1. Out of memory exception on setting wallpaper

getWallpaper() is not leaking. The default Home app is using it and
does not experience out of memory errors because of that.

I am more than willing to fix any existing memory leak in the
framework (and I did several times) or in the default apps (and I did
several times) but developers should really stop assuming that out of
memory errors are always caused by the framework. It is *very* easy
for an application to leak or simply to use too much memory.








-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~

2. When do you use FrameLayout? Why not AbsoluteLayout?

Hi
When do you use FrameLayout?
The way I understand it, all the children are pegged relative to the
top left of FrameLayout. That means all the children's coordinates
(marginLeft/right etc) are relative to parent. AbsoluteLayout does the
same thing.

When would one use FrameLayout?

Thanks
Videoguy
--~--~---------~--~----~------------~-------~--~----~

3. Problem Troubleshooting Vista ADB USB Connection.

4. New Fee Structure?!?!

5. Can I initialize an Array list from data specified in xml resource file?

6. How can I install my GPS app to my device?

7. DefaultHttpClient Timeout