Settings Fragment
A fragment allowing users to change application settings.
Constructors
SettingsFragment
Link copied to clipboard
fun SettingsFragment()
Content copied to clipboard
Functions
clear Garbage
Link copied to clipboard
open override fun clearGarbage()
Content copied to clipboard
Set all listeners, ViewModels and shared references to null.
on Create Preferences
Link copied to clipboard
open override fun onCreatePreferences(savedInstanceState: Bundle?, rootKey: String?)
Content copied to clipboard
Called when the fragment is created, calls setPreferencesFromResource to set the preferences
on Create View
Link copied to clipboard
open override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View?
Content copied to clipboard
Called on fragment view creation, returns an inflated view of this fragment.
on View Created
Link copied to clipboard
Called when the fragment view has been created, initializes the views and listeners.
remove This Fragment
Link copied to clipboard
private fun removeThisFragment()
Content copied to clipboard
Removes this fragment
Properties
aboutButton
Link copied to clipboard
containerView
Link copied to clipboard
mFragmentBackground
Link copied to clipboard
The dark background behind the fragment, calls removeThisFragment on click