mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	* Changed files required to get the app to run correctly. Removed suspend from affected DAO files and funcs, and changed to (Kotlin v1.9.22) and (Kotlin compiler v1.5.8) * Created refresh button icon, and added it to the nearby_fragment_menu.xml (header of the nearby page). Created function refresh() in NearbyParentFragment.java to handle refresh functionality. * Replaced refresh() func with emptyCache() and reloadMap() * Attempt at reloadMap(), no testing done yet. * added changes for a possibly working emptyCache implementation (needs testing). * Tested changes as working, edited emptyCache to correctly clear cache and then reload map --------- Co-authored-by: MarcusBarta <marcusbarta@icloud.com>
This commit is contained in:
		
							parent
							
								
									becc07d26b
								
							
						
					
					
						commit
						3e020ed973
					
				
					 15 changed files with 140 additions and 35 deletions
				
			
		
							
								
								
									
										18
									
								
								app/src/main/res/drawable/ic_refresh_24dp_nearby.xml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								app/src/main/res/drawable/ic_refresh_24dp_nearby.xml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,18 @@ | |||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|   android:width="@dimen/half_standard_height" | ||||
|   android:height="@dimen/half_standard_height" | ||||
|   android:viewportHeight="24.0" | ||||
|   android:viewportWidth="24.0"> | ||||
| 
 | ||||
|     <group | ||||
|       android:scaleX="1.0" | ||||
|     android:scaleY="1.0" | ||||
|     android:translateX="-0.0" | ||||
|     android:translateY="-0.0"> | ||||
| 
 | ||||
|     <path | ||||
|       android:fillColor="?attr/menu_item_tint" | ||||
|       android:pathData="M17.65,6.35C16.2,4.9 14.21,4 12,4c-4.42,0 -7.99,3.58 -7.99,8s3.57,8 7.99,8c3.73,0 6.84,-2.55 7.73,-6h-2.08c-0.82,2.33 -3.04,4 -5.65,4 -3.31,0 -6,-2.69 -6,-6s2.69,-6 6,-6c1.66,0 3.14,0.69 4.22,1.78L13,11h7V4l-2.35,2.35z"/> | ||||
| 
 | ||||
| </group> | ||||
|   </vector> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Noah Vendrig
						Noah Vendrig