Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Apr 2008
    Location
    Seattle, WA
    Posts
    8
    Vote Rating
    0
    jgindin is on a distinguished road

      0  

    Question DataCallback vs. AsyncCallback?

    DataCallback vs. AsyncCallback?


    I'm wondering if someone could shed some light on this question for me... Why does ext GWT (and MyGWT before it) define this DataCallback interface, rather than leveraging the "standard" AsyncCallback defined in GWT itself?

    I can see the obvious differences...only have to implement 1 method instead of 2, and check a flag for success or failure. I'm looking more fundamentally...what problem does this new interface solve, that can't be solved (or is kinda hard to solve) with just an AsyncCallback?

    Please don't take this question the wrong way... I'm just trying to wrap my head around some more of this library, and want to make sure I understand as best I can how to leverage the library.

    thanks,

    jay

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Prior to GWT 1.5, AsyncCallback was not generic and onSuccess was passed an Object. DataCallback uses a LoadResult.

    If we were designing from scratch, this would probably make more sense:

    public interface DataCallback<R extends LoadResult> extends AsyncCallback<R> {
    }

Thread Participants: 1