This commit is contained in:
r-ca 2024-01-28 13:47:48 +09:00
parent 8052b9b329
commit aa2ee9462f
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -85,11 +85,12 @@ public class HomeTopFragment extends Fragment {
this.listItemAdapter = new ListItemAdapter(new DocumentSelectListener() { this.listItemAdapter = new ListItemAdapter(new DocumentSelectListener() {
@Override @Override
public void onDocumentSelect(String documentId, String documentName) { public void onDocumentSelect(String documentId, String documentName, boolean hasCombined) {
Intent intent = new Intent(getContext(), ViewerMainActivity.class); Intent intent = new Intent(getContext(), ViewerMainActivity.class);
Log.d("HomeTopFragment", "onDocumentSelect: " + documentId + " " + documentName); Log.d("HomeTopFragment", "onDocumentSelect: " + documentId + " " + documentName);
intent.putExtra("documentId", documentId); intent.putExtra("documentId", documentId);
intent.putExtra("documentName", documentName); intent.putExtra("documentName", documentName);
intent.putExtra("hasCombined", hasCombined);
startActivity(intent, ActivityOptions.makeCustomAnimation(getContext(), one.nem.lacerta.shared.ui.R.anim.nav_up_enter_anim, one.nem.lacerta.shared.ui.R.anim.nav_up_exit_anim).toBundle()); startActivity(intent, ActivityOptions.makeCustomAnimation(getContext(), one.nem.lacerta.shared.ui.R.anim.nav_up_enter_anim, one.nem.lacerta.shared.ui.R.anim.nav_up_exit_anim).toBundle());
} }
}); });