Back to project page Lists-android.
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.
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; } }