-
18 Apr 2013 10:02 AM #1
Why doesn't ListView use deferred binding for its Appearance
Why doesn't ListView use deferred binding for its Appearance
Shouldn't this be:Code:public ListView(ListStore<M> store, ValueProvider<? super M, N> valueProvider) { this(store, valueProvider, new ListViewDefaultAppearance<M>()); }
this(store, valueProvider, GWT.<ListViewAppearance> create(ListViewAppearance.class));
How can I use my own implementation of ListViewAppearance from my theme?
-
18 Apr 2013 2:57 PM #2
This was a mistake that was fixed before the 3.0.3 release. As a workaround, you may call the appearance constructor to specify your default appearance:
Another workaround could be to subclass ListView and call that same constructor, this time invoking GWT.create to use the rebind rules that are present.Code:public ListView(final ListStore<M> store, ValueProvider<? super M, N> valueProvider, ListViewAppearance<M> appearance) {


Reply With Quote