Hey guys I'm trying to perform some highlight using Filter Color on Touch up and down respectively of a handful of ImageButtons. The issue I've ran into is when I tie up the delegate for Touch (no return value) the click event no longer responds. Everyone out there says the method delegated for Touch must return true to let the OS know it still has more to go (Ie the Click that fires after). I've temporarily solved this by putting my click code into the Touch up portion..personally I would like it in the click for aesthetics but just can't seem to get this or understand it/why..
btnToday(this).Click += btnToday_Click; btnToday(this).Touch += btnToday_Touch;
public void btnToday_Click(object sender, EventArgs e) { ... no longer fires ... }
public void btnToday_Touch(object sender, Android.Views.View.TouchEventArgs e) { ... fires ... }
I've also tried the method of using the Activity and inheriting Android.Views.View.IOnTouchListener etc etc, but for some reason I just couldn't get this to work either.
Any help understanding this would be great.