mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-07 19:47:36 +00:00
エラー時のトーストメッセージ出力
This commit is contained in:
1 parent
391c093437
commit
7d3d4a0ebf
1 file changed
+1
@@ -137,6 +137,7 @@ public class LibraryTopFragment extends Fragment {
|
||||
} catch (Exception e) {
|
||||
// 例外処理
|
||||
e.printStackTrace();
|
||||
Toast.makeText(getContext(), "エラーが発生しました: " + e.getMessage(), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
// Use a LinearLayoutManager to specify the layout
|
||||
return view;
|
||||
|
||||
Reference in new issue
Block a user