mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
エラー時のトーストメッセージ出力
This commit is contained in:
parent
391c093437
commit
7d3d4a0ebf
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user