Android Question Restarting an Activity

DawningTruth

Active Member
Licensed User
My app requires me to restart an activity after a user generated parameter change.
I have tried:

Code: Copy
StartActivity(MyActivity)

But it gives me an error as it cannot find: MyActivity

Any suggestions on how I can get the App to restart the activity?
 
u need Activity.Finish and open it from other place (Starter Service or other Activity) with StartActivity(MyActivity)
 
Upvote 0
Erels Hint there should also work

Code: Copy
Sub Button1_Click
        
    Activity.Finish
    StartActivity(Me)
    
End Sub
 
Upvote 0
Back
Top