選択されたRevisionに推移できるように

This commit is contained in:
r-ca 2024-01-27 16:20:11 +09:00
parent 7ef75bb375
commit c7f5502535
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -189,6 +189,9 @@ public class ViewerListFragment extends Fragment {
public void onItemSelected(String revId) {
// Do something
Toast.makeText(getContext(), "Selected revId: " + revId, Toast.LENGTH_SHORT).show();
getParentFragmentManager().beginTransaction()
.replace(R.id.nav_host_fragment, ViewerListFragment.newInstance(documentId, documentName, revisionId))
.commit();
}
@Override