I have been playing with the Gestures Detector 2.2 additional library.
I am consistantly getting a Null Pointer Error in the following situation.
If I touch a displayed view on the screen and before I release my touch, if the screen changes and the view/activity is replaced by another activity then the null pointer error occurs when I release my touch as the original object is no longer on the screen.
This is a common problem as many apps (including my Notification viewer) pop-up and take over the screen, regardless, if I am half way through touching something.
Placing a try/catch in my code does not trap this error as it is generated inside the library.
I need to be able to trap the null pointer generated inside the library so I can code for this situation.
Any ideas.
I am consistantly getting a Null Pointer Error in the following situation.
If I touch a displayed view on the screen and before I release my touch, if the screen changes and the view/activity is replaced by another activity then the null pointer error occurs when I release my touch as the original object is no longer on the screen.
This is a common problem as many apps (including my Notification viewer) pop-up and take over the screen, regardless, if I am half way through touching something.
Placing a try/catch in my code does not trap this error as it is generated inside the library.
I need to be able to trap the null pointer generated inside the library so I can code for this situation.
Any ideas.