mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-08 03:47:36 +00:00
フォーマット整理
This commit is contained in:
1 parent
df95ce4405
commit
b1af3f01f2
3 files changed
+22
-3
No files matched your search
@@ -13,11 +13,13 @@ import java.util.List;
|
||||
|
||||
import one.nem.lacerta.model.ListItem;
|
||||
import one.nem.lacerta.model.document.DocumentMeta;
|
||||
|
||||
//RecyclerView 用のアダプタークラス
|
||||
//アダプターはリストのデータを管理し、それを RecyclerView に表示する
|
||||
public class DocumentAdapter extends RecyclerView.Adapter<DocumentAdapter.DocumentViewHolder> {
|
||||
// アダプターが保持するデータ
|
||||
// アダプターが保持するデータ
|
||||
private ArrayList<ListItem> documentMetas;
|
||||
|
||||
//documentMetas アダプターが表示するデータ
|
||||
public DocumentAdapter(ArrayList<ListItem> documentMetas) {
|
||||
// nullの場合でも例外を発生させないよう修正
|
||||
|
||||
+2
-2
@@ -140,6 +140,6 @@ public class LibraryTopFragment extends Fragment {
|
||||
e.printStackTrace();
|
||||
Toast.makeText(getContext(), "エラーが発生しました: " + e.getMessage(), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
return view;
|
||||
}
|
||||
return view;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user