Thanks for the reply, I've done this and it looks like the loop is
moving faster than the canvas can draw to the surface. which would
explain why I get a positive result when there is only one to loop
through and a positive result for the last in the loop. I even
attempted to put a Thread.sleep in the mix and still no luck. I
relatively am new to android and Java, so not quite sure how to remedy
the problem.

On Oct 30, 10:49 pm, Shawn Brown <[email protected]> wrote:
> >                          if(_theGrid1.size()<7){
> >                                int g1left = 7-_theGrid1.size();
> >                                        int i;
> >                                        for(i=1;i<=g1left;i++){
> >                                                x1=64;
> >                                                y1=i*64;
> >                                                
> > graphic.getGridCoordinates().setGrid1X(x1);
>
> > graphic.getGridCoordinates().setGrid1Y(y1);
>
> This looks fine to me.  Personally, I'd just log the values to confirm that.
>
> As for the remaining code, I can't tell what you are doing there.
> Personally, I'd just log the values to see what is going wrong where.
>
> Shawn

-- 
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