Android IDE (AIDE) Support Forum

Why does my app keeps stopping when I click option

![Screenshot_20210924-043052|250x500](uploa d://bcjwwHLUYNZebImpNzBZ75w61Hx.png)

The Callback argument must be a view, not a int

1 Like

Please kindly explain more I am new at this. Thanks.

No problem ,everyone start somewhere.
First of all when we deal with the screen, the method is reactive. This means that we subscribe ourselves in some way to be notified from some change in the screen. This can be done through the onclick properties of a button for example, or through the creation of an object that have this purpose. The explanation, will be long, so the problem is getting the User interface interacting with our code

https://www.tutorialspoint.com/android/android_event_handling.htm