Kyle Corry
Kyle Corry
Similar to MemoryCache, except it stores in shared prefs. Takes in a lambda to convert an object into keys, and a key for the stored time.
private fun setExclusionRects() { if (Build.VERSION.SDK_INT < 29) return val exclusionRects = mutableListOf() val rect = Rect( binding.perspective.left, binding.perspective.top, binding.perspective.right, binding.perspective.bottom ) exclusionRects.add(rect) requireActivity().findViewById(android.R.id.content).systemGestureExclusionRects = exclusionRects } private fun removeExclusionRects()...
To an image package - maybe also an image native package, so the toolkit only gets used if needed
Similar to ITaskScheduler but with methods to schedule at an interval - [x] Work - [ ] Alarm
Pass in a max time parameter to the read() method on sensors. Defaults to no time limit. It should stop the sensor and return false (success returns true)
Shared views using Jetpack compose