I need to have ability to make focusable my custom view. Is it possible?
And then attach onFocus and onKeyPress events to it.
It will be just custom view with layout.
Hello, @sergeyplishka
Implementing the desired behavior of a custom view is possible via extending its functionality by adding an Inner event system to it.
Afterwords you could be able to attach onFocus
or onKeyPress
events.
Here is the snippet:Code Snippet
Thank you!