mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-09-09 12:09:25 +00:00 
			
		
		
		
	追加
This commit is contained in:
		
							parent
							
								
									8052b9b329
								
							
						
					
					
						commit
						aa2ee9462f
					
				|  | @ -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()); | ||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user