Make it compatible with targetSDK 28+
parikshitsharma717 opened this issue · comments
parikshitsharma717 commented
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.app.example, PID: 25825
java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
suggestion : you need to replace canvas.clipPath(path, Region.Op.REPLACE); with canvas.clipPath(path);
optional: try to upgrade it to androidx