can u pls send the code for ur query?

On Feb 12, 7:24 am, Sundog <sunns...@gmail.com> wrote:
> I was trying to make clear WHY it didn't fire. Hopefully the person
> who solved it before will see this.
>
> On Feb 11, 6:43 pm, Alexey <avolo...@gmail.com> wrote:
>
>
>
> > Well it's pretty clear that event is not firing, my question is how to
> > get it to fire.
> > I'm adding/removing a TextView to a gallery and want that view get
> > selected in the gallery.
>
> > On Feb 11, 5:09 pm, Sundog <sunns...@gmail.com> wrote:
>
> > > setSelection doesn't generate any events, so your listener never hear
> > > anything.
> > > I think someone worked out a way to inject an event but I can't find
> > > it now.
>
> > > On Feb 11, 4:02 pm, Alexey <avolo...@gmail.com> wrote:
>
> > > > Hi i have a gallery created from code and it has
> > > > OnItemSelectedListener .
> > > > I set selected item from the code by mGallery.setSelection(idx);
> > > > and expect a callback into my  onItemSelected
> > > > But it't doesn't happen - how i can trigger onItemSelected to get hit
> > > > from code ?
>
> > > > thanks Alex- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to