mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
選択されたRevisionに推移できるように
This commit is contained in:
parent
7ef75bb375
commit
c7f5502535
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user