mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
フォルダ名を引数にとるようにした
This commit is contained in:
parent
04db160548
commit
1648e0b7c1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user