フォルダ名を引数にとるようにした

This commit is contained in:
ろむねこ 2024-01-22 18:42:50 +09:00
parent 04db160548
commit 1648e0b7c1
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -111,7 +111,7 @@ public class LibraryPageFragment extends Fragment {
Toast.makeText(getContext(), "Folder selected! folderId: " + folderId + ", folderName: " + folderName, Toast.LENGTH_SHORT).show(); Toast.makeText(getContext(), "Folder selected! folderId: " + folderId + ", folderName: " + folderName, Toast.LENGTH_SHORT).show();
FragmentNavigation fragmentNavigation = (FragmentNavigation) getActivity(); FragmentNavigation fragmentNavigation = (FragmentNavigation) getActivity();
assert fragmentNavigation != null; assert fragmentNavigation != null;
fragmentNavigation.navigateToFragment(LibraryPageFragment.newInstance(folderId)); fragmentNavigation.navigateToFragment(LibraryPageFragment.newInstance(folderId, folderName));
} }
@Override @Override