i am looking to create an intent that can display a random activity when i click a button. It seems pretty straightforward but i cannot find any example of that in any forum or in any documentation. I don't know Java, only Kotlin. I found some java example. However, i don't really know what to do with that as i don't really understand it all.
Here is the most interesting one(in java) i found in Stack-overflow, here is the link: Open random activities when button is clicked
If you can explain me how to do in Kotlin , I'll be very thankful! Thanks you in advance, Federico
Aucun commentaire:
Enregistrer un commentaire