Hi Alexey,
Try calling notifyDataSetIvalidated before repopulating your adapter
and/or notifyDataSetChanged after.
Cheers,
Horia
On Feb 12, 7:12 am, Alexey avolo...@gmail.com wrote:
Ok everything is being called correctly with setSelection. However in
my case i'm not getting callback because
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
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
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
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
I don't make a query i have a Gallery with custom adapter. I'm
adding new item to the adapter by removing all items and putting
everything back, along with new item. Now i want to set selection in
my gallery to that new item.
On Feb 11, 10:04 pm, Munish munish.sha...@lntinfotech.com wrote:
can
Ok everything is being called correctly with setSelection. However in
my case i'm not getting callback because i'm at item 0 in the gallery.
Then i'm adding a view to the adapter, to the top and try to set a
selection. And it doesn't trigger callback, because, i think , from
gallery point of view
7 matches
Mail list logo