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

onCreatePreferences

fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?): Unit

Function that is ran when the preference screen is being created

Parameters

savedInstanceState - Bundle The Android saved instance state

rootKey - String? A root key if any that this preferences will derive from