mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Remove BlogPersistentData
This commit is contained in:
@@ -3,7 +3,7 @@ package org.briarproject.android.blogs;
|
||||
import android.support.annotation.Nullable;
|
||||
|
||||
import org.briarproject.android.controller.ActivityLifecycleController;
|
||||
import org.briarproject.android.controller.handler.UiResultHandler;
|
||||
import org.briarproject.android.controller.handler.ResultHandler;
|
||||
import org.briarproject.api.sync.GroupId;
|
||||
import org.briarproject.api.sync.MessageId;
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.TreeSet;
|
||||
public interface BlogController extends ActivityLifecycleController {
|
||||
|
||||
void loadBlog(final GroupId groupId, final boolean reload,
|
||||
final UiResultHandler<Boolean> resultHandler);
|
||||
final ResultHandler<Boolean> resultHandler);
|
||||
|
||||
TreeSet<BlogPostItem> getBlogPosts();
|
||||
|
||||
@@ -22,7 +22,7 @@ public interface BlogController extends ActivityLifecycleController {
|
||||
@Nullable
|
||||
MessageId getBlogPostId(int position);
|
||||
|
||||
void deleteBlog(final UiResultHandler<Boolean> resultHandler);
|
||||
void deleteBlog(final ResultHandler<Boolean> resultHandler);
|
||||
|
||||
interface BlogPostListener {
|
||||
void onBlogPostAdded(final BlogPostItem post, final boolean local);
|
||||
|
||||
Reference in New Issue
Block a user