I am using the Table Library. I know there have been many improvements with the B4XTable and Flexible table, however (so far) this has worked perfectly fine. In my program, I am essentially using an integer to keep track of removes/additions/selections in my Main class. When I remove from the table, I always remove the selected row. However, if no row is selected, I treat it like a queue, removing the oldest entry (FIFO). Then, I set my integer to 0.
I came across a problem however. I am missing the logic to keep track of my queue using my integer when a row is selected, then deselected (clicked, then clicked again). For the life of me, I cannot find the logic in the Table class where a row is deselected. I know the solution, I'll just make my variable a global and set it equal to zero where this happens. I just need to know where to put the operation.
Any help would be greatly appreciated. Thanks a ton!
I came across a problem however. I am missing the logic to keep track of my queue using my integer when a row is selected, then deselected (clicked, then clicked again). For the life of me, I cannot find the logic in the Table class where a row is deselected. I know the solution, I'll just make my variable a global and set it equal to zero where this happens. I just need to know where to put the operation.
Any help would be greatly appreciated. Thanks a ton!