Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bind_java_type is missing support for conditional / version-checked method/field bindings #764

@wuwbobo2021

Description

@wuwbobo2021

For Android, one might expect to use some deprecated methods on older API levels, and use some newly introduced methods on newer API levels. These newly introduced methods will not be found at runtime on older Android versions.

Maybe {Type}API can store IDs in Options, so that None values can be mapped to MethodNotFound and FieldNotFound errors. There can be another generated function of checking the availability of all fields and methods, or simply an option in bind_java_type for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions