https://kotlinlang.org logo
Title
u

user

07/13/2022, 3:11 AM
Get Frame Rate of Android using Kotlin I am able to get the frame rate of the Android system using the following answer in Java: https://stackoverflow.com/a/8908035/4190159 However, being new to Kotlin I was wondering how can I get the frame rate of Android system using Kotlin code? (my app is using Kotlin instead of Java) The code as follows is not working for me: fun getFrameRate(): String { val timeElapsed1: android.os.SystemClock =...