title: canvas not drawing my required object
body: <p><strong>Program reach in loadpng block....it also prints the toast "it shold draw something but it dont draw circle but draw all the remaining stuff that is in my arraylist"</strong></p>
  
  <pre><code>@Override
  public void onDraw(Canvas canvas) {
      canvas.drawColor(Color.WHITE);
      int p=0,cir=0,r=0,l=0;
      if(load_png)
      {
          Toast_Display.long_message(getContext(),"should draw something");
          canvas.drawCircle(300,300,100,get_paint(Color.WHITE,10));
          invalidate();
  
      }
  
      for(int sequence : sequence_draw)
      {
          if(sequence==1)
          {
              int color = color_name.get(p);
              int width = brush_width.get(p);
              Path mypath = path_list.get(p);
              Paint paint = get_paint(color,width);
              canvas.drawPath(mypath, paint);
              p++;
          }
          else if(sequence==2)
          {
              circle c = circles.get(cir);
              canvas.drawCircle(c.getCx(),c.getCy(),c.getRadious(),get_paint2(c.getColor(),c.getWidth()));
              cir++;
          }
          else if(sequence==3)
          {
              Rectangle rec = rectangles.get(r);
              canvas.drawRect(rec.getCx(),rec.getCy(),rec.getDx(),rec.getDy(),get_paint2(rec.getColor(),rec.getWidth()));
              r++;
          }
          else if(sequence==4)
          {
              Rectangle line = lines.get(l);
              canvas.drawLine(line.getCx(),line.getCy(),line.getDx(),line.getDy(),get_paint(line.getColor(),line.getWidth()));
              l++;
          }
  
      }
  
      if(draw==true)
      {
          if(status.equals("circle"))
              canvas.drawCircle(cx,cy,radious,get_paint2(current_circle_color,current_circle_width));
          else if(status.equals("rec"))
              canvas.drawRect(cx,cy,dx,dy,get_paint2(current_Rectngle_color,current_Rectngle_width));
          else if(status.equals("line"))
              canvas.drawLine(cx,cy,dx,dy,get_paint(current_line_color,current_line_width));
      }
  
  
  }
  </code></pre>
  
  <p>I don't know why it's not drawing my required object in load png block.... any help will be appreciated</p>