Computer scienceProgramming languagesKotlinAdditional instrumentsDatabase and Storage

Cache

Theory

Update an android

Report a typo

Luke Skywalker wants to update android info from the androids cache (the cache is stored in a variable called androidsCache). An android has an id (String) and a name (String). Luke wants to update the android with the name key R2D2 with the name "R2D2 - The Best!". Please write the code to perform this action and remember the key is the id of the android.

Enter a short text
___

Create a free account to access the full topic