Extend BlogActivity to also show individual posts
This allows for swiping left/right to read other posts by using a ViewPager. This hasn't been done as a separate activity, but with fragments, so both can share the `BlogPersistentData` without needing to reload it. Closes #428
Showing
- briar-android/res/layout/activity_blog.xml 17 additions, 6 deletionsbriar-android/res/layout/activity_blog.xml
- briar-android/res/layout/fragment_blog.xml 10 additions, 0 deletionsbriar-android/res/layout/fragment_blog.xml
- briar-android/res/layout/fragment_blog_post.xml 77 additions, 0 deletionsbriar-android/res/layout/fragment_blog_post.xml
- briar-android/res/values/strings.xml 2 additions, 0 deletionsbriar-android/res/values/strings.xml
- briar-android/src/org/briarproject/android/ActivityComponent.java 6 additions, 0 deletions...droid/src/org/briarproject/android/ActivityComponent.java
- briar-android/src/org/briarproject/android/ActivityModule.java 9 additions, 0 deletions...-android/src/org/briarproject/android/ActivityModule.java
- briar-android/src/org/briarproject/android/AndroidComponent.java 3 additions, 0 deletions...ndroid/src/org/briarproject/android/AndroidComponent.java
- briar-android/src/org/briarproject/android/AppModule.java 7 additions, 0 deletionsbriar-android/src/org/briarproject/android/AppModule.java
- briar-android/src/org/briarproject/android/blogs/BlogActivity.java 183 additions, 103 deletions...roid/src/org/briarproject/android/blogs/BlogActivity.java
- briar-android/src/org/briarproject/android/blogs/BlogController.java 29 additions, 0 deletions...id/src/org/briarproject/android/blogs/BlogController.java
- briar-android/src/org/briarproject/android/blogs/BlogControllerImpl.java 171 additions, 0 deletions...rc/org/briarproject/android/blogs/BlogControllerImpl.java
- briar-android/src/org/briarproject/android/blogs/BlogFragment.java 191 additions, 0 deletions...roid/src/org/briarproject/android/blogs/BlogFragment.java
- briar-android/src/org/briarproject/android/blogs/BlogPersistentData.java 49 additions, 0 deletions...rc/org/briarproject/android/blogs/BlogPersistentData.java
- briar-android/src/org/briarproject/android/blogs/BlogPostAdapter.java 10 additions, 8 deletions...d/src/org/briarproject/android/blogs/BlogPostAdapter.java
- briar-android/src/org/briarproject/android/blogs/BlogPostFragment.java 157 additions, 0 deletions.../src/org/briarproject/android/blogs/BlogPostFragment.java
Loading
Please register or sign in to comment