diff --git a/app/src/main/java/com/example/citrusclient/views/MyBookshelfFragment.java b/app/src/main/java/com/example/citrusclient/views/MyBookshelfFragment.java index 3ebfb26..606bfbf 100644 --- a/app/src/main/java/com/example/citrusclient/views/MyBookshelfFragment.java +++ b/app/src/main/java/com/example/citrusclient/views/MyBookshelfFragment.java @@ -110,7 +110,7 @@ String accountId = citrus.getAccountId(); bookList = new ArrayList<>(); - bookList.add(new Book("a", 1, "a", true, "#ff0000")); +// bookList.add(new Book("a", 1, "a", true, "#ff0000")); RecyclerView recyclerView = view.findViewById(R.id.my_books_list); recyclerView.setHasFixedSize(true); @@ -178,6 +178,7 @@ citrus.setCurYear(c.get(Calendar.YEAR)); citrus.setCurMonth(c.get(Calendar.MONTH) + 1); citrus.setCurDay(c.get(Calendar.DATE)); + citrus.setCurBookId(bookData.getBookId()); ((MainActivity) activity).showFragment(new HomeFragment()); });