app / sg.edu.ntu.scse.cz2006.gymbuddies / SettingsActivity

SettingsActivity

class SettingsActivity : AppCompatActivity

This activity is used to display the application settings page

For sg.edu.ntu.scse.cz2006.gymbuddies in Gym Buddies!

Author
Kenneth Soh

Since
2019-09-12

Types

SettingsFragment

An internal settings fragment for display the application settings

class SettingsFragment : PreferenceFragmentCompat

Constructors

<init>

This activity is used to display the application settings page

SettingsActivity()

Functions

onCreate

Function that is called when an activity is created

fun onCreate(savedInstanceState: Bundle?): Unit

onOptionsItemSelected

This function handles the selected menu item

fun onOptionsItemSelected(item: MenuItem): Boolean