Hi, i need to display another activity when a condition is met.
for example if the array list is empty i want to display the other activity.
I have tried using intent etc, which works elsewhere but when i use it in this place it says something like startActivity is not defined for this class.
What other ways are there to display an activity when a condition is met.
Thanks
for example if the array list is empty i want to display the other activity.
I have tried using intent etc, which works elsewhere but when i use it in this place it says something like startActivity is not defined for this class.
What other ways are there to display an activity when a condition is met.
Thanks