Skip to content

SimpleOrientationSensor shouldn't directly implement ISensorEventListener #12206

Closed

Description

@Youssef1313

The interface should be implemented by a private nested class, just like all other sensors (e.g https://github.com/unoplatform/uno/blob/520bd48d8e8ef90568f8d12e996c458017e1571f/src/Uno.UWP/Devices/Sensors/Barometer.Android.cs#LL73C55-L73C75)

This will avoid having OnAccuracyChanged and OnSensorChanged being public.

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    on May 8, 2023
  2. self-assigned this
    on May 8, 2023
  3. added
    project/non-ui ⚙️
    on May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdkind/enhancementproject/non-ui ⚙️triage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions