New version of startActicy call
This commit is contained in:
@@ -122,7 +122,7 @@ class ContactListAdapter(private val ctx: Context, private val rows: ArrayList<C
|
|||||||
b.putBoolean("new", false)
|
b.putBoolean("new", false)
|
||||||
b.putInt("index", position)
|
b.putInt("index", position)
|
||||||
i.putExtras(b)
|
i.putExtras(b)
|
||||||
startActivity(ctx, i, null)
|
ctx.startActivity(i, null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -158,7 +158,7 @@ class ContactListAdapter(private val ctx: Context, private val rows: ArrayList<C
|
|||||||
b.putString("aor", aor)
|
b.putString("aor", aor)
|
||||||
b.putInt("index", position)
|
b.putInt("index", position)
|
||||||
i.putExtras(b)
|
i.putExtras(b)
|
||||||
startActivity(ctx, i, null)
|
ctx.startActivity(i, null)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user