Android Question Application_Error don´t fire on an CustomListView_ItemClick

Antonio Ferreira

Member
Licensed User
Longtime User
I have the Application_Error Sub, in the Starter Service.
I have an activity with a CustomListView and a button.
On this Activity (on release mode)
Doing Dim i as int ="abc" to force an error, in the button_click, the Starter Service Application_Error is fired.
Doing Dim i as int ="abc" to force an error, in the CustomListView_ItemClick , I see the error on the Usb Debug Log, but the Starter Service Application_Error is not fired ?

Why ?

B4A 10.5
android:targetSdkVersion="29"
 

Antonio Ferreira

Member
Licensed User
Longtime User
Using an old version of B4A = waste of your precious time.

Does the app crash when it happen?
Please try to reproduce it in a small project and upload it.

This small project has an login activity and an activity with a button and a Customlistview.
I force an error ( Dim i as int = "abc") on the button_click and on the CustomListview_ItemClick on the second activity
The Starter Sub Application_Error is only fired on the button_click.
The app only crash on the CustomListview_ItemClick.
Don´t crash on the button_Click (The Starter Service Application_Error ends with Return False)

Thank you, one more time for your always fast help.
 

Attachments

  • PEDIDOS_TEST.zip
    84 KB · Views: 258
Upvote 0
Top