-
public class BundleUtils
-
-
Field Summary
Fields Modifier and Type Field Description public final static BundleUtilsINSTANCE
-
Method Summary
Modifier and Type Method Description final static StringgetString(String key, String defaultValue, Bundle bundle)final static BooleangetBoolean(String key, Bundle bundle, Boolean defaultValue)final static IntegergetInt(String key, Integer defaultValue, Bundle bundle)final static LonggetLong(Bundle bundle, String key, Long defaultValue)final static DoublegetDouble(Bundle bundle, String key, Double defaultValue)final static <ERROR CLASS><String>getStringArrayList(Bundle bundle, String key)final static BundlegetBundle(Bundle bundle, String key)final static UnitputIfNotNull(Bundle bundle, String key, Object value)-
-
Method Detail
-
getBoolean
final static Boolean getBoolean(String key, Bundle bundle, Boolean defaultValue)
-
getStringArrayList
final static <ERROR CLASS><String> getStringArrayList(Bundle bundle, String key)
-
putIfNotNull
final static Unit putIfNotNull(Bundle bundle, String key, Object value)
-
-
-
-