getDrawingCache() from a not drawn view

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

getDrawingCache() from a not drawn view

Postby Drummkit » Wed Jul 15, 2009 2:59 pm

Hi,
I create several GridViews but only one is displayed on screen : that's ok. I want to get a screenshot for each GridViews, so I use getDrawingCache(), but only the screenshot of the displayed GridView is correct, the others bitmaps are empty because the ImageAdapter is not called for these views, so the screenshot shows an empty view.
How can I do to force a GridView to be populated even if it's not displayed?
Thanks all,
Guillaume
Drummkit
Freshman
Freshman
 
Posts: 3
Joined: Wed Jul 15, 2009 2:43 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 5 guests