Skip to content

Commit 58f5d48

Browse files
committed
make some creation methods public
1 parent 7221fb3 commit 58f5d48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/src/main/java/xyz/klinker/android/article/ArticleActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public final class ArticleActivity extends DragDismissRecyclerViewActivity
6565
private int textSize;
6666

6767
@Override
68-
protected void setupRecyclerView(RecyclerView recyclerView) {
68+
public void setupRecyclerView(RecyclerView recyclerView) {
6969
this.url = getIntent().getDataString();
7070

7171
if (DEBUG) {

library/src/main/java/xyz/klinker/android/article/ImageViewActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
public final class ImageViewActivity extends DragDismissActivity {
3737

3838
@Override
39-
protected View onCreateContent(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
39+
public View onCreateContent(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) {
4040
View root = inflater.inflate(R.layout.article_activity_image_view, parent, false);
4141

4242
ImageView imageView = (ImageView) root.findViewById(R.id.article_image_view);

0 commit comments

Comments
 (0)