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


    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.



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



    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."