Combined Blog Feed

This commit addes a combined blog feed that shows all posts of all
subscribed blogs in the order the blog posts have been received.

For now, this commit also hides other blog functionality like adding
additional blogs and browsing individual blogs.

Closes #417
This commit is contained in:
Torsten Grote
2016-06-22 16:47:01 -03:00
parent e0d2d09bdd
commit fd7278b488
22 changed files with 568 additions and 71 deletions

View File

@@ -112,6 +112,11 @@ public class BriarRecyclerView extends FrameLayout {
emptyView.setText(text);
}
public void setEmptyText(int res) {
if (recyclerView == null) initViews();
emptyView.setText(res);
}
public void showProgressBar() {
if (recyclerView == null) initViews();
recyclerView.setVisibility(INVISIBLE);
@@ -140,6 +145,11 @@ public class BriarRecyclerView extends FrameLayout {
recyclerView.scrollToPosition(position);
}
public void smoothScrollToPosition(int position) {
if (recyclerView == null) initViews();
recyclerView.smoothScrollToPosition(position);
}
public RecyclerView getRecyclerView() {
return this.recyclerView;
}