Skip to content

Slow camera view within tabs #469

@bwwilliam

Description

@bwwilliam

I came cross a problem. My app has 3 tabs, and the scanner view is inside one of the tabs. When swipe between the tabs, the camera tab (i.e. scanning tab) is slower than other two tabs to render.
After googling many places, finally find this one
http://stackoverflow.com/questions/28183017/viewpager-swiping-lags-when-fragment-contains-camera-preview

I went and checked the source code, ZXingSurfaceView class does inherits from "public class ZXingSurfaceView : SurfaceView". Is there way you can please change it to TextureView?
Thank you.
William

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions