#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0

    FloodFill Algorithm does not work for me


    I created a simple paint application on android. For "fill with color" feature I found a sample code on stackoverflow[1]. But the code does not work properly for me. I get no error when I run app but nothing changed in my image. What is wrong? My whole project source code is here[2]. I copied AsyncDoldur and FloodFill class from this post[1].


    [1] stackoverflow.com/questions/8723590/fill-the-complete-canvas-but-keep-the-bound-fill-area-as-it-is-like-circle-rect/12777805#12777805
    [2] pastie.org/8014379
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0
    I think problem is invalidate() function. Where I should use it?

IMN logo majestic logo threadwatch logo seochat tools logo