ScratchView
ScratchView copied to clipboard
Hello, in ScratchTextView.java, AsyncTask is Deprecated so what can we do about that, i have used `Executors` many times but here we need `params` from `doInBackground` which we can't get...
I am getting repeated crash in this.
Re-draw
HI, How can i re-draw the scrachable layer?
When wanna to reveal the component before displaying, we try to call the Reveal function in body of OnCreate() Activity, the app will crash by dint of many exceptions
images randoms:ArrayListOf = [R.drawable.a,R.drawable.b,etc..] R = random.nextInt(2) Hey, trying to scratch.setBackroundResource(imageRandom[R] but I got a crash ... why?
Hello using RecyclerView in the adapter class the listener doesn't get fired... :( please help
Could you please tell me how stop the scratching when the percent value is higher than 50% for example. I've tried several methods but none of them work.
` java.lang.IllegalArgumentException: width and height must be > 0 at android.graphics.Bitmap.createBitmap(Bitmap.java:1074) at android.graphics.Bitmap.createBitmap(Bitmap.java:1041) at android.graphics.Bitmap.createBitmap(Bitmap.java:991) at android.graphics.Bitmap.createBitmap(Bitmap.java:952) at com.cooltechworks.views.ScratchTextView.onSizeChanged(ScratchTextView.java:175) at android.view.View.sizeChange(View.java:22602) at android.view.View.setFrame(View.java:22544) at android.widget.TextView.setFrame(TextView.java:7137) at android.view.View.layout(View.java:22404) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812) at...
can not revel 100% in one touch. in PhonePe and Tez if we reveal 30% then we touch out of scrachview it will automatically reveal 100% so how can I...