Set an ImageView at a particular position inside GridView

by tilo1583 » Mon, 10 May 2010 23:50:10 GMT

Sponsored Links
 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 appropriate location?


Other Threads

1. Bug in the MediaStore Content Provider ?


My mp3 application is using the MediaStore content provider and I
noticed strange behaviour that is even reproducible on the native
android mp3 player.

1) Start emulator with SD card and some songs already on it
2) Start native mp3 player
3) See the songs that you have
4) Now push a new song to the SDC card
5) Restart the native MP3 player

Result: The new song is not visible. If I restart the emulator then
the song will be visible

Expected Result : The new song should be visible and accesible from
the conent provider after after it has been added to sdcard.

I first of all reproduced on my application, but I see that it also
effects the native player which must be using the MediaStore content
provider aswel.

This behaviour looks like a bug to me ?

I am using 1.5r2 of the SDK

Thanks !

2. Can we go back to older versions?

Hi everyone,
         i upgraded my adp1 to 1.5... once the reboot was complete many of
my apps stopped workin...
now i wanna go back to 1.1... how do i do this??

George Bernard 
- "A government that robs Peter to pay Paul can always depend on the
support of Paul."


3. Passing pointer to AsyncTask that changes GUI to onRetainNonConfigurationInstance?

4. No intent to terminate(end) the call programmatically

5. help with google accounts

6. java.lang.VerifyError - please help me some one

7. Phone ringtones in Sound & Dispaly disappeared.