Bundler

object Bundler

Functions

Link copied to clipboard
fun bindExtras(source: Intent, target: Any)

Bind fields annotated with BindExtra from source Intent.

fun bindExtras(source: Bundle, target: Any)

Bind fields annotated with BindExtra from source Bundle.

Link copied to clipboard
fun restoreStates(source: Bundle, target: Any)
Link copied to clipboard
fun saveStates(source: Bundle, target: Any): Bundle
Link copied to clipboard
fun setDebug(debug: Boolean)

When set to true, will print Bundler operation in debug level.

Link copied to clipboard
fun wrapExtras(targetCls: Class<*>, args: List<*>): Bundle