1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    31
    Vote Rating
    0
    billsalvucci is on a distinguished road

      0  

    Default Why doesn't ListView use deferred binding for its Appearance

    Why doesn't ListView use deferred binding for its Appearance


    Code:
    public ListView(ListStore<M> store, ValueProvider<? super M, N> valueProvider) {
        this(store, valueProvider, new ListViewDefaultAppearance<M>());
      }
    Shouldn't this be:
    this(store, valueProvider, GWT.<ListViewAppearance> create(ListViewAppearance.class));


    How can I use my own implementation of ListViewAppearance from my theme?

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,645
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      1  

    Default


    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:
    Code:
      public ListView(final ListStore<M> store, ValueProvider<? super M, N> valueProvider, ListViewAppearance<M> 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.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar