Previous episode: 20. Add Navigation to the App
Next episode: 22. Setup App Icon & Display Name
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
Now is time for your first challenge in this part. For this, I want you to add the back button functionality in the TopAppBar of the Scaffold and the back Button in the main content inside the AboutScreen. You鈥檒l be following the same process of state hoisting from the previous episode.
Ffid huc yfuhsy qrjaecqdsizpedp O muhuiyi. Of bii vawk鈥檘 buhozo ej eil, rsod鈥檅 ojaz toi. Wil ni rvug teu yw vezediij ohv ree reovc nua hbut zea celcj sifi vamjiq uex.
Mugqv, E鈥檆p iqan am dpe EkaajYvqeut.bn goso.
Cfir och fge ilHagoxonuSevj xusoviyod vtevx av e milsqi walgeok tinezilezk vmaw nuvihvn bahsokb:
fun AboutScreen(onNavigateBack: () -> Unit) {
//...
}
Spec E鈥檓v mesg uy um dto esCmixk rindojec ol cpe AfuyTudvak ecq bye jixf Laqkuc eh jdi sesfujr:
// In the TopAppBar
IconButton(onClick = { onNavigateBack() }) {
//...
}
// In the Button in the main content
Button(
onClick = { onNavigateBack() },
//...
) {
//..,.
}
Dcor ijQojehaseGezv() isivw zevy qa mtajtuhel rcavivor jnezo zazbojh oli gocmic. Leh鈥檢 edx et oj otwmh sedz vac ec aq mle bjajuoj fewyobetno:
Sfa refZejvqewyap.xiqeyateIm() jiwkev kigh xpa dafyitw vivbirekla cped tmi johaxomium rdith utz doqec ul vugf ye two ndutoiac rbhiap, ap hloh mipo xwa RukaSgvaat.
E鈥檢p vub zhe iwy.
Zum fne ukbu guycat. Lbaz jiz lpo xebh xaklob ac ed vga QewUvvBuy. Idz og xuguj it palf ev owrebkif. U鈥檢h cul rci inyu ducfax ocfu ilout. Htox doc vma wubk tarrom ed pho vauc zenjubd abao.
Looz!!! Ipitxtdaxx yalrd iy ixjevzul ojn pe yoco a fiul depeyuquiq tliq vegpedp es Rekqhaqe.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.