mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Add nearby list fragment to bottom sheet
This commit is contained in:
		
							parent
							
								
									0fe5547e55
								
							
						
					
					
						commit
						773e072b95
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -394,7 +394,9 @@ public class NearbyActivity extends NavigationBaseActivity implements LocationUp | |||
|         FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction(); | ||||
|         Fragment fragment = new NearbyListFragment(); | ||||
|         fragment.setArguments(bundle); | ||||
|         fragmentTransaction.replace(R.id.container, fragment, fragment.getClass().getSimpleName()); | ||||
|         fragmentTransaction.replace(R.id.container_sheet, fragment); | ||||
|         bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED); | ||||
|         //TODO replace this sheet for details map | ||||
|         fragmentTransaction.commitAllowingStateLoss(); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 neslihanturan
						neslihanturan