Hello. I implement on Android the project for this tutorial: Tutor on OneFingerZoom . The Observer
design pattern is Observer
. At a certain moment of the application operation (the thread has run its own, set a flag), it is required to remove the tracking of user’s touches on the device screen, more precisely, the Observable
object state changes (changes its state based on the user's touch coordinates on the screen, then signals changes).
How is the tracking of this event removed? A certain method at successor View.OnTouchListener
, a class implementing Observer
or a class implementing Observable
?