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

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,
Posts: 3
Joined: Wed Jul 15, 2009 2:43 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 2 guests