mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	* Back button on fragment * Handled back events * minor changes * removed extra lines
This commit is contained in:
		
							parent
							
								
									fd247f6321
								
							
						
					
					
						commit
						f8a8f92070
					
				
					 10 changed files with 115 additions and 8 deletions
				
			
		|  | @ -594,6 +594,10 @@ public class ContributionsFragment | |||
| 
 | ||||
|     public void backButtonClicked() { | ||||
|         if (mediaDetailPagerFragment.isVisible()) { | ||||
|             if(mediaDetailPagerFragment.backButtonClicked()) { | ||||
|                 // MediaDetailed handled the backPressed no further action required. | ||||
|                 return; | ||||
|             } | ||||
|             if (store.getBoolean("displayNearbyCardView", true)) { | ||||
|                 if (nearbyNotificationCardView.cardViewVisibilityState == NearbyNotificationCardView.CardViewVisibilityState.READY) { | ||||
|                     nearbyNotificationCardView.setVisibility(View.VISIBLE); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Aditya-Srivastav
						Aditya-Srivastav