79363552

Date: 2025-01-17 03:44:33
Score: 1.5
Natty:
Report link

var exclusionRects = listOf(rect1, rect2, rect3)

fun onLayout( changedCanvas: Boolean, left: Int, top: Int, right: Int, bottom: Int) { // Update rect bounds and the exclusionRects list setSystemGestureExclusionRects(exclusionRects) }

fun onDraw(canvas: Canvas) { // Update rect bounds and the exclusionRects list setSystemGestureExclusionRects(exclusionRects) }

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tanvir hossen Emon