Skip to content

Navigation Basic Usage

qiibeta edited this page Oct 27, 2019 · 2 revisions

Open new page

navigationScene?.push(TargetScene::class.java)

Open new page with arguments

val bundle = Bundle()
navigationScene?.push(TargetScene::class.java, bundle)

Open new page for result

Open

navigationScene?.push(TargetScene::class.java, PushOptions.Builder().setPushResultCallback {

                }.build())

setResult

TargetScene

navigationScene?.setResult(TargetScene.this, "This is result")