Android Open Source - PetBook Async Model






From Project

Back to project page PetBook.

License

The source code is released under:

MIT License

If you think the Android project PetBook listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.edinubuntu.petlove.model;
/*from  w w w .j ava2  s  . c  om*/
import com.loopj.android.http.AsyncHttpResponseHandler;

/**
 * Created by edward_chiang on 13/10/3.
 */
public abstract class AsyncModel {

    private boolean loading;

    public abstract void load(AsyncHttpResponseHandler responseHandler);

    public boolean isLoading() {
        return loading;
    }

    public void setLoading(boolean loading) {
        this.loading = loading;
    }
}




Java Source Code List

com.edinubuntu.petlove.PetLove.java
com.edinubuntu.petlove.active.ActiveObjectLoader.java
com.edinubuntu.petlove.active.ActiveObjectsLoader.java
com.edinubuntu.petlove.activity.MainActivity.java
com.edinubuntu.petlove.adapter.RecordsAdapter.java
com.edinubuntu.petlove.model.AdaptPetsModel.java
com.edinubuntu.petlove.model.AsyncModel.java
com.edinubuntu.petlove.object.Record.java
com.edinubuntu.petlove.util.converter.RecordsJsonConverter.java