Hi, hope you can help:

I have :

1. private static class SampleView extends View implements
OnGestureListener { //init variables }
2. public SampleView(Context context) { super(context); buildPoints
();}
3. @Override    protected void onDraw(Canvas canvas) {  paintchart
(canvas,param); }
4. public void paintchart(Canvas canvaschart, int param) { // drawing
my chart }

my GestureListener Methods:
- public boolean onTouchEvent(MotionEvent me) {
- public boolean onScroll(MotionEvent e1, MotionEvent e2, float
distanceX, float distanceY) {
- public boolean dispatchTouchEvent(MotionEvent me) {

It works fine for all calculations. When I scroll I even get the right
data in my PainChart(canvas)
But.... the Display come NOT updated?? Why.

When I call the paintchart from OnDraw() with different Params it
works fine.
But when it come called from onScroll or even direct just for test in
onTouchEvent, it does not update
my View... ??

Any Ideas

Thanks and wish you all the best
Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to