stringbeing declared and immediately assigned a value:
getDefaultSharedPreferences, but you won't have the option to "Go to declaration" - it's disabled.
||, these can be read as "OR". Its counterpart is
&&which is read "AND".
!can be read as "NOT". In the case of a boolean, this means true becomes false, and false becomes true.
nullmeans nothing - unset - no value.
:here is a shortcut for an if / else check. (expression) ? (action/value if true) : (action/value if false)
truewill result in the function returning
false. Confused yet? We're not done!