Class SharedPreferencesKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static String getNonNullString(SharedPreferences $self, String key, String defaultValue) Unlike the getString method it delegates to, this method requires a non-null default value, and therefore guarantees to return a non-null String.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getNonNullString

         final static String getNonNullString(SharedPreferences $self, String key, String defaultValue)

        Unlike the getString method it delegates to, this method requires a non-null default value, and therefore guarantees to return a non-null String.