I am using the GridView along with an ImageAdapter. The functionality
I want is that I select a particular image and drop it on to the
GridView. I want this image to snap to a cell closest to where it has
been dropped.
How do I tell the GridView (or the Adapter) to set this dropped Image
in the
, 2010 at 9:12 AM, tilo1583 tilo1...@gmail.com wrote:
I tried your method, but it still does not work.
GridView g = (GridView)findViewById(R.id.gridview1);
g.removeAllViews();
It still gives the same exception, as 'removeAllViews() is
unsupported'
On Mar 18, 5:36 pm, social hub shubem
event of button u call
l.removeviews();
this shud work. you can try working along these lines.
in your case you have to check what is the parent before u try to remove.
This is based on my understanding of your problem. I can be wrong .
On Thu, Mar 18, 2010 at 2:59 PM, tilo1583 tilo1
Hi Everyone,
I am very new to Android development, but I am not new to develoment
of UIs.
I am trying to run this piece of code.
Basically, there is a GridView which contains a bunch of ImageViews.
To each of these image views I have added this
onTouchListener as given below. However, the
4 matches
Mail list logo