0
I have a Activity
which shows a AlertDialog
customized, as the class of Activity
I put the call of this Alert in another class in a static method. When clicking a certain Alert button (or when closing it) I wanted a method of the Activity class to be executed (which takes care of updating a Listview), but to change the Listview it would need to be called in the instance where the Activity is running. With the context
of Activity or any other means is it possible to use that method? I thought of making this Alertdialog class as a partial class
from Activity, but from what I’ve seen it’s not possible in Kotlin.