Extension function for data communication in activity to activity
inline fun <reified T : Activity> Context.openActivity(vararg params: Pair<String, Any>) {
val intent = Intent(this, T::class.java)
intent.putExtras(*params)
this.startActivity(intent)
}
fun Intent.putExtras(vararg params: Pair<String, Any>): Intent {
if (params.isEmpty()) return...