diff --git a/app/src/main/java/com/example/citrusclient/views/MyBookshelfAdapter.java b/app/src/main/java/com/example/citrusclient/views/MyBookshelfAdapter.java index 3a9418f..145a274 100644 --- a/app/src/main/java/com/example/citrusclient/views/MyBookshelfAdapter.java +++ b/app/src/main/java/com/example/citrusclient/views/MyBookshelfAdapter.java @@ -33,6 +33,7 @@ public void onBindViewHolder(@NonNull MyBookViewHolder holder, int position) { MyBookshelfFragment.RowBook bookData = this.bookList.get(position); holder.bookButton.setText(bookData.hogeTitle); + holder.bookButton.setBackgroundColor(bookData.color); } @Override