mirror of
				https://github.com/pierre42100/ComunicAndroid
				synced 2025-10-31 01:24:43 +00:00 
			
		
		
		
	Improved files header
This commit is contained in:
		| @@ -12,6 +12,9 @@ import java.util.Objects; | ||||
| /** | ||||
|  * Comunic account class | ||||
|  * | ||||
|  * This class stores the account tokens | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/29/17. | ||||
|  */ | ||||
|  | ||||
|   | ||||
| @@ -17,6 +17,12 @@ import java.util.ArrayList; | ||||
|  | ||||
| import org.communiquons.android.comunic.client.api.*; | ||||
|  | ||||
| /** | ||||
|  * Login activity of the application | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  */ | ||||
|  | ||||
| public class LoginActivity extends AppCompatActivity { | ||||
|  | ||||
|     /** | ||||
|   | ||||
| @@ -11,6 +11,12 @@ import android.widget.Toast; | ||||
|  | ||||
| import org.communiquons.android.comunic.client.api.APIRequestTask; | ||||
|  | ||||
|  | ||||
| /** | ||||
|  * Main activity of the application | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  */ | ||||
| public class MainActivity extends AppCompatActivity { | ||||
|  | ||||
|     /** | ||||
|   | ||||
| @@ -11,6 +11,7 @@ import java.io.FileOutputStream; | ||||
| /** | ||||
|  * Application utilities | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/29/17. | ||||
|  */ | ||||
|  | ||||
|   | ||||
| @@ -5,6 +5,7 @@ import java.net.URLEncoder; | ||||
| /** | ||||
|  * This class stores on parameter for a POST request | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/31/17. | ||||
|  */ | ||||
|  | ||||
|   | ||||
| @@ -5,8 +5,9 @@ import org.communiquons.android.comunic.client.api.APIPostData; | ||||
| import java.util.ArrayList; | ||||
|  | ||||
| /** | ||||
|  * This class handles the setup of the parametres required to setup an API request | ||||
|  * This class handles the setup of the parameters required to setup an API request | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/31/17. | ||||
|  */ | ||||
|  | ||||
|   | ||||
| @@ -22,6 +22,12 @@ import java.net.URL; | ||||
| /** | ||||
|  * Perform an API request on the server | ||||
|  * | ||||
|  * API requests are made on a separate Thread using AsyncTask. | ||||
|  * | ||||
|  * The method requesting an API request has to implement the onPostExecute method in order to be | ||||
|  * able to have a personalized data process | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/31/17. | ||||
|  */ | ||||
| public abstract class APIRequestTask extends AsyncTask<APIRequestParameters, Void, APIResponse> { | ||||
|   | ||||
| @@ -6,6 +6,7 @@ import org.json.JSONObject; | ||||
| /** | ||||
|  * Store and serve the response of an API request | ||||
|  * | ||||
|  * @author Pierre HUBERT | ||||
|  * Created by pierre on 10/31/17. | ||||
|  */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pierre
					Pierre