-
-
Method Summary
Modifier and Type Method Description StringgetPath()StringgetAction()PostcardwithInt(String key, int value)PostcardwithDouble(String key, double value)PostcardwithLong(String key, long value)PostcardwithString(String key, String value)PostcardwithCharSequence(String key, CharSequence value)PostcardwithFloat(String key, float value)PostcardwithBoolean(String key, boolean value)PostcardwithObject(String key, Object obj)PostcardwithAction(String action)Objectnavigation()Navigation to the route with path in postcard.No param, will be use application context. Objectnavigation(Context context)Navigation to the route with path in postcard. -
-
Constructor Detail
-
Postcard
Postcard(String path)
-
-
Method Detail
-
withDouble
Postcard withDouble(String key, double value)
-
withString
Postcard withString(String key, String value)
-
withCharSequence
Postcard withCharSequence(String key, CharSequence value)
-
withBoolean
Postcard withBoolean(String key, boolean value)
-
withObject
Postcard withObject(String key, Object obj)
-
withAction
Postcard withAction(String action)
-
navigation
Object navigation()
Navigation to the route with path in postcard.No param, will be use application context.
-
navigation
Object navigation(Context context)
Navigation to the route with path in postcard.
- Parameters:
context- context
-
-
-
-