veloper.android.com/resources/articles/layout-tricks-stubs.html
>
> -- Kostya
>
> 15.07.2011 10:02, Tapomay Dey пишет:
>
> > O god, ViewStub is declared final.
> > Why???
> > I can't extend it.
> > How do I reuse it?
>
> --
> Kostya Vasil
O god, ViewStub is declared final.
Why???
I can't extend it.
How do I reuse it?
On Jul 13, 7:14 pm, Tapomay Dey wrote:
> Thanks for the ViewStub approach.
>
> On Jul 13, 6:08 pm, Kostya Vasilyev wrote:
>
> > Yeah, why not?
>
> > Presumably, you
view hierarchy, replacing itself with the
> inflated layout.
>
> -- Kostya
>
> 13.07.2011 16:42, Tapomay Dey пишет:
>
> > Following could be a solution:
> > In the setter method for layout resourceID, inflate the layout and add
> > it as child to the "this"
Following could be a solution:
In the setter method for layout resourceID, inflate the layout and add
it as child to the "this" View object.
Is this a clean approach?
Regards,
Tapomay.
On Jul 13, 5:26 pm, Tapomay Dey wrote:
> I want to create a custom AdapterView/ViewGroup. It
I want to create a custom AdapterView/ViewGroup. Its DataAdapter/
childViews consists of elements that act as keys for a data filter.
This custom view is associated with another dataAdapter-adapterview
combo that holds the data to be filtered (based on what user selects
in the custom filter view).
And of course getView is applicable when you are using adapters to hold the
data objects for the list.
On Thu, Dec 2, 2010 at 12:23 PM, Tapomay Dey wrote:
> I guess View (in)visibility is supposed to be handled in getView.
>
>
> On Thu, Dec 2, 2010 at 11:49 AM, Prateek Jain wr
I guess View (in)visibility is supposed to be handled in getView.
On Thu, Dec 2, 2010 at 11:49 AM, Prateek Jain wrote:
> On itemClickListener make web view invisible for all the items other
> than the selected one.
>
> It will be better if you can post the code too.
>
> Cheers,
> Prateek
>
> On
Adding to hoyski's reply:
Purpose of convertView argument:
Its all discussed in some Google I/O video by Romain. (Ref: Kumar Bibek's
reply).
Its well known that when you update the data that backs-up a listview, you
are supposed to call notifydatasetchanged() when you want the data
changes(for eg:
Mark has been repeatedly saying "don't call getview"
Adding to it, your call to adapt.notifyDataSetChanged(); is what's going to
trigger a getView() call for each of the items visible in your list. So some
internal code in listview widget is what's going to call getview, not the
user(you). However
9 matches
Mail list logo