.. java:import:: android.animation Animator .. java:import:: android.animation AnimatorListenerAdapter .. java:import:: android.annotation TargetApi .. java:import:: android.app Activity .. java:import:: android.app LoaderManager.LoaderCallbacks .. java:import:: android.content Context .. java:import:: android.content CursorLoader .. java:import:: android.content Intent .. java:import:: android.content Loader .. java:import:: android.database Cursor .. java:import:: android.os AsyncTask .. java:import:: android.os Build .. java:import:: android.os Bundle .. java:import:: android.text TextUtils .. java:import:: android.view View .. java:import:: android.view ViewGroup .. java:import:: android.view.inputmethod EditorInfo .. java:import:: android.widget Button .. java:import:: android.widget EditText .. java:import:: android.widget ImageView .. java:import:: android.widget TextView LoginActivity ============= .. java:package:: ar.uba.fi.drtinder :noindex: .. java:type:: public class LoginActivity extends Activity implements LoaderCallbacks Basic login screen based on Android Studio login Activity template Methods ------- onCreate ^^^^^^^^ .. java:method:: @Override protected void onCreate(Bundle instanceState) :outertype: LoginActivity Called when the activity is starting :param instanceState: If the activity is being re-initialized after previously being shut down then this Bundle contains the data it most recently supplied in onSaveInstanceState(Bundle). Note: Otherwise it is null. onCreateLoader ^^^^^^^^^^^^^^ .. java:method:: @Override public Loader onCreateLoader(int index, Bundle bundle) :outertype: LoginActivity Instantiate and return a new Loader for the given ID. :param index: The ID whose loader is to be created. :param bundle: Any arguments supplied by the caller. :return: Return a new Loader instance that is ready to start loading. onLoadFinished ^^^^^^^^^^^^^^ .. java:method:: @Override public void onLoadFinished(Loader cursorLoader, Cursor cursor) :outertype: LoginActivity Called when a previously created loader has finished its load. Note that normally an application is not allowed to commit fragment transactions while in this call, since it can happen after an activity's state is saved. :param cursorLoader: The Loader that has finished :param cursor: The data generated by the Loader. onLoaderReset ^^^^^^^^^^^^^ .. java:method:: @Override public void onLoaderReset(Loader cursorLoader) :outertype: LoginActivity Called when a previously created loader is being reset, and thus making its data unavailable. The application should at this point remove any references it has to the Loader's data. :param cursorLoader: The Loader that is being reset. onStart ^^^^^^^ .. java:method:: @Override protected void onStart() :outertype: LoginActivity