How to detect touchEvent across multiple objects?

Posted by RobGThai on Stack Overflow See other posts from Stack Overflow or by RobGThai
Published on 2010-05-03T06:12:50Z Indexed on 2010/05/03 6:18 UTC
Read the original article Hit count: 220

Filed under:

In short: I need to find a way to implement swipe action (touchEvent) for my Calendar just like the default Android Calendar one.

I am using GridView to make a calendar for my application. When I touch any date, I launch an activity to display details on that date.

My problem is that now I tried to implement swipe to change month/year to display but I dont know a way to do it. I tried to use setOnTouchListener on GridView but it seems like detecting for each grid separately instead of the whole grid as one. Further problem would be that it overridden my onItemClick implementation as well.

© Stack Overflow or respective owner

Related posts about android