RadioRealButton
RadioRealButton copied to clipboard
Make it compatible with targetSDK 28+
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