In all the years of working with B4A, this is the strangest thing I have ever seen...
Yesterday I built and pushed an APK, and all was fine. I checked the project in using VSS (MS Visual Source Safe). But one more tiny bug to fix...
Today I check it all back out, and before any changes dId a debug compile and run to my tablet AVD.
The main screen has a number of buttons to take you to other activities. But when I click button A, it actually highlights button C, and goes to the button C click handler. In fact the handlers for all buttons is either scrambled to run the wrong event handler, or does nothing at all.. This seems to have affected all layouts created in the designer, and loaded with LoadLayout. Manually created items, wired via initialize all work fine. It behaves the same way if I run a non-debug build.
What I have tried...
Has anybody ever seen anything like this? I am going to create a new project from scratch and see if it happens there. I am hoping someone knows a trick.
Yesterday I built and pushed an APK, and all was fine. I checked the project in using VSS (MS Visual Source Safe). But one more tiny bug to fix...
Today I check it all back out, and before any changes dId a debug compile and run to my tablet AVD.
The main screen has a number of buttons to take you to other activities. But when I click button A, it actually highlights button C, and goes to the button C click handler. In fact the handlers for all buttons is either scrambled to run the wrong event handler, or does nothing at all.. This seems to have affected all layouts created in the designer, and loaded with LoadLayout. Manually created items, wired via initialize all work fine. It behaves the same way if I run a non-debug build.
What I have tried...
- Cleaned the project
- Verify names in the designer, they are all correct.
- Replaced the Main.bal file from a backup copy I made yesterday before the final release build
- Regenerated all of the views and the handlers I am using
- I tried to peruse through the generated java, but I am not an expert, and did not notice anything obvious
Has anybody ever seen anything like this? I am going to create a new project from scratch and see if it happens there. I am hoping someone knows a trick.