start

inline fun <activity : ArcActivity<*>> start(isFinished: Boolean = false, flags: List<Int> = listOf(), args: MutableMap<String, Serializable> = mutableMapOf())

Function start another ArcActivity within the application

Parameters

activity

the ArcActivity to be started

isFinished

After opening another Activity, finish the previous Activity?

flags

list of Flags used for opening new Activity, for example Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP

args

parameter or any data that will be used in the next Activity