mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Added changes to readme.md + comments. (#5230)
* Update README.md * Update LatLng.java * Update LoginActivity.java * Updated LoginActivity.java to feature javadoc syntax
This commit is contained in:
		
							parent
							
								
									cbc54c71d9
								
							
						
					
					
						commit
						3f664d62f8
					
				
					 3 changed files with 11 additions and 4 deletions
				
			
		|  | @ -147,7 +147,11 @@ public class LoginActivity extends AccountAuthenticatorActivity { | |||
|             loginCredentials.setVisibility(View.GONE); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     /**  | ||||
|      * Hides the keyboard if the user's focus is not on the password (hasFocus is false). | ||||
|      * @param view The keyboard | ||||
|      * @param hasFocus Set to true if the keyboard has focus | ||||
|      */ | ||||
|     @OnFocusChange(R.id.login_password) | ||||
|     void onPasswordFocusChanged(View view, boolean hasFocus) { | ||||
|         if (!hasFocus) { | ||||
|  |  | |||
|  | @ -38,7 +38,10 @@ public class LatLng implements Parcelable { | |||
|         this.latitude = Math.max(-90.0D, Math.min(90.0D, latitude)); | ||||
|         this.accuracy = accuracy; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * An alternate constructor for this class. | ||||
|      * @param in A parcelable which contains the latitude, longitude, and accuracy | ||||
|      */ | ||||
|     public LatLng(Parcel in) { | ||||
|         latitude = in.readDouble(); | ||||
|         longitude = in.readDouble(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tpettwa1
						tpettwa1