Android Question Show panel from class

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
I created a class with a custom panel.
I want to create an event "Show", showing the panel in the main activity.
How do I do?
 

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
Hello,
I used the first method.
But using the 2, I must call the MainActivity.AddView(...) ?
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
I saw that using CustomDialog2, I call the method "Show", but without passing any panels or activity.
How do I implement this?
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
The dialogs are based on a different mechanism. You will need to add your panel to another panel or activity.
So in the class, I create a panel that it is show in another panel?
 
Upvote 0

imgsimonebiliato

Well-Known Member
Licensed User
Longtime User
I can't understand.. How can I implement a class that use an activity?
 
Upvote 0
Top