use of com.github.pockethub.android.core.commit.CommitStore in project PocketHub by pockethub.
the class PocketHubModule method commitStore.
@Provides
CommitStore commitStore(Context context) {
CommitStore store = commits != null ? commits.get() : null;
if (store == null) {
store = new CommitStore(context);
commits = new WeakReference<>(store);
}
return store;
}
Aggregations