Android Question SOLVED: App aborting when using Dialog to edit (and range check) a number

Misterbates

Active Member
Licensed User
I have an app that presents a user with a list of properties (similar to fields in a database record) using CustomListView. It enables the user to click on a row to edit the property value and uses the Dialogs (4.01) library compiled under B4A 7.30 to process the edit.

It was working well, but then I renamed a few of the app modules/classes and now it works when editing a text item but aborts when editing a number item - where I'm using an EditText and processing the Changed event to validate the number, setting a red border if invalid and a white border if valid.

Here's the log from the full app.

In an attempt to reproduce the issue for posting here, I cut down the app to bare essentials (attached). The cut-down version doesn't abort, but it does still log some issues that are similar to the full app - here's the log from the cut down version.

Why would editing a text item using the dialog library work with no issues, but editing a number item (and using the changed event) cause issues?

Thanks in advance for any help/advice/pointers!
 

Attachments

  • PevDlgIssue.zip
    126.5 KB · Views: 337

Misterbates

Active Member
Licensed User
Found the issue. Wasn't with the Dialogs library at all, was with another part of my code that I changed at the same time but didn't test!
 
Upvote 0