.. java:import:: android.content Intent .. java:import:: android.graphics PorterDuff .. java:import:: android.os Bundle .. java:import:: android.support.design.widget NavigationView .. java:import:: android.support.v4.app Fragment .. java:import:: android.support.v4.app FragmentManager .. java:import:: android.support.v4.view GravityCompat .. java:import:: android.support.v4.widget DrawerLayout .. java:import:: android.support.v7.app ActionBarDrawerToggle .. java:import:: android.support.v7.app AppCompatActivity .. java:import:: android.support.v7.widget Toolbar .. java:import:: android.view Menu .. java:import:: android.view MenuItem MainActivity ============ .. java:package:: ar.uba.fi.drtinder :noindex: .. java:type:: public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener Main app activity of the app Dr Tinder. Displays the 2 main fragments: Selection and Chatlist Fields ------ DELETE_PROF ^^^^^^^^^^^ .. java:field:: public static final int DELETE_PROF :outertype: MainActivity Methods ------- onActivityResult ^^^^^^^^^^^^^^^^ .. java:method:: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) :outertype: MainActivity onBackPressed ^^^^^^^^^^^^^ .. java:method:: @Override public void onBackPressed() :outertype: MainActivity Missing Api Reference onCreate ^^^^^^^^ .. java:method:: @Override protected void onCreate(Bundle bundle) :outertype: MainActivity Called when the activity is starting :param bundle: 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. onCreateOptionsMenu ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public boolean onCreateOptionsMenu(Menu menu) :outertype: MainActivity Called when created options menu. :param menu: Created menu :return: true to display the menu as menu onDestroy ^^^^^^^^^ .. java:method:: @Override public void onDestroy() :outertype: MainActivity Destroy all fragments and loaders. Clears app cache onNavigationItemSelected ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public boolean onNavigationItemSelected(MenuItem item) :outertype: MainActivity Called when an item in the navigation menu is selected. :param item: The selected item :return: true to display the item as the selected item onOptionsItemSelected ^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Override public boolean onOptionsItemSelected(MenuItem item) :outertype: MainActivity Called when a option item is selected :param item: The selected item :return: true to display the item as the selected item onStart ^^^^^^^ .. java:method:: @Override protected void onStart() :outertype: MainActivity onStop ^^^^^^ .. java:method:: @Override protected void onStop() :outertype: MainActivity