Skip to content

Commit 3dec7a3

Browse files
committed
call instance method of Utils class to working with getWantToReadBooks() properly
1 parent 9c865c7 commit 3dec7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AUBLibrary/app/src/main/java/com/tss/aublibrary/WantToReadActivity.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ protected void onCreate(Bundle savedInstanceState) {
2727
recyclerView.setLayoutManager(new LinearLayoutManager(this));
2828

2929
// set data
30-
bookRecViewAdapter.setBooks(Utils.getWantToReadBooks());
30+
bookRecViewAdapter.setBooks(Utils.getInstance(this).getWantToReadBooks());
3131
}
3232

3333
@Override

0 commit comments

Comments
 (0)