🪐 Ceres is a comprehensive Android development framework designed to streamline your app development process. Powered by the latest technologies like Jetpack Compose, Hilt, Coroutines, and Flow, Ceres empowers developers to build modern and efficient Android applications.
Add a new feature to keep the screen on when specific conditions are met, enhancing the user experience during certain app activities.
Describe the solution
Create a composable function named KeepScreenOn that takes an optional predicate parameter, which is a lambda function returning a Boolean value. This predicate is used to determine whether the screen should be kept on or not.
Additional context
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
Describe the problem
Add a new feature to keep the screen on when specific conditions are met, enhancing the user experience during certain app activities.
Describe the solution
Create a composable function named KeepScreenOn that takes an optional predicate parameter, which is a lambda function returning a Boolean value. This predicate is used to determine whether the screen should be kept on or not.
Additional context
No response
Code of Conduct