Android Open Source - Lists-android Lists Application






From Project

Back to project page Lists-android.

License

The source code is released under:

Apache License

If you think the Android project Lists-android 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.dropbox.examples.lists;
/*from  www  .j a  v a2 s .co m*/
import android.app.Application;
import com.dropbox.sync.android.DbxDatastoreManager;

// We're creating our own Application just to have a singleton off of which to hand the datastore manager.
public class ListsApplication extends Application {
    public DbxDatastoreManager datastoreManager;

    private static ListsApplication singleton;
    public static ListsApplication getInstance() {
        return singleton;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        singleton = this;
    }
}




Java Source Code List

com.dropbox.examples.lists.DeletableItemAdapter.java
com.dropbox.examples.lists.ListActivity.java
com.dropbox.examples.lists.ListAdapter.java
com.dropbox.examples.lists.ListItemAdapter.java
com.dropbox.examples.lists.ListsApplication.java
com.dropbox.examples.lists.MainActivity.java
com.dropbox.examples.lists.OnItemDeletedListener.java
com.dropbox.examples.lists.SharingDialogFragment.java