• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Surface View not working on OnePlus Devices

Currently, I am working on Surface View in android. I am building a custom view that can render an incoming stream of data points on the canvas in a background thread. Hence, Surface View seems to be a good option to handle this specific use case.

I have implemented the custom view and it works perfectly fine. But, specifically on OnePlus devices, the screen is overdrawn with data points. I have uploaded a file in this thread to show how the behaviour looks. Though I would like to point out that, this is specific to all OnePlus models and this type of behaviour is not seen in any other device.
 

Attachments

  • WhatsApp Image 2022-11-23 at 3.48.10 PM.jpeg
    WhatsApp Image 2022-11-23 at 3.48.10 PM.jpeg
    193.5 KB · Views: 96
Back
Top Bottom