Hi All,
I've done a material styled custom dialog as a class. It works quite well and allows me to supply a preconfigured panel to it that drops into the middle of the dialog. The one issue I have is that when it is visible on an activity and the user presses the back button the Activity_KeyPress event is raised.
I can put some form of check into that event so that a function in the class is called if it is active however it would be nice if there was a way to do the KeyPress event within the class. Is that possible or am I stuck using the Activity KeyPress event?
Regards
Jon
I've done a material styled custom dialog as a class. It works quite well and allows me to supply a preconfigured panel to it that drops into the middle of the dialog. The one issue I have is that when it is visible on an activity and the user presses the back button the Activity_KeyPress event is raised.
I can put some form of check into that event so that a function in the class is called if it is active however it would be nice if there was a way to do the KeyPress event within the class. Is that possible or am I stuck using the Activity KeyPress event?
Regards
Jon