On Wed, Dec 11, 2013 at 5:14 PM, Amit Mangal <forum.amit.man...@gmail.com>wrote:

> i am trying to add saveForLaterOverlay on button pressed number item in
> grid view but nothing happing this method just executing when i click the
> button on image but doing nothing.


Your main problem is calling getView() on the adapter. This is not how you
use this method.
When you click your button, instead of trying to add the layout, modify
your object / data model and invalidate the adapter.
Then, in your adapter's getView() method, you create or update the view
based on the object / data model's state.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to