This group has been disappointing me last couple of weeks Where
are all the experts? C'mon, you can do better than this.
Abhi
On Dec 3, 4:37 pm, Abhi abhishek.r.sha...@gmail.com wrote:
Hi,
I am trying to do the following in my app:
1. Open Gallery just the way it is on the phones
I think you could try writing your own custom MyGallery class
extending Gallery.
Then you can @Override the onFling() method which can either use to
directly call your ImageSwitcher method, or if that isn't convenient,
just have the onFling() method set a specific variable to true. Then
in your
H. I don't know enough to solve your ImageSwitcher problem.
Intuition tells me that there may be no easy solution to fix
ImageSwitcher if the problem is due to the way Android handles the
fling calls...
But I have to ask: Why do you use the gallery, but then also display a
larger image next
By the way, when you fling the gallery, Android does not call the
onFling() method.
Flinging the gallery calls the onScroll() method of gallery.
This is probably why changing setCallbackDuringFling(false) did not
work and wouldn't be expected to work.
Also, I was wrong in my first post. I do
The last post I made is incorrect. Sorry, I am just sorting this out.
When you fling a gallery, Android does call the onFling() method,
however it also calls the onScroll() method.
In my application it calls the onScroll() method multiple times
(variable) and the onFling() method once. Not sure
Hi, Jim,
Thank you, thank you for your enthusiasm.
Just as you said: It seems to occur when the flinging
is slow - either on starting the fling, or near its end... when
you setCallbackDuringFling(false); It works but is not good enough.
Maybe there are some relationships between this and the
Hi, Jim,
Thank you for your help. Maybe I hadn't explain my question clearly
(my English is poor:( ). The images I loaded are from hard disk, and
they are large. Every time I select an image in the gallery, it
displays a bigger one in the ImageSwitcher, I wrote another thread to
do this. The
7 matches
Mail list logo