Skip to content

ns typings android "androidx.activity:activity" may see <set-?> as value param names. #83

@NathanWalker

Description

@NathanWalker

Example A:

public setMediaType$activity_release(<set-?>: androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType): void;

The <set-?> is invalid. Should print as value.

B

Other entries may print as public createOnBackAnimationCallback(onBackStarted: any<any,any>, onBackProgressed: any<any,any>, onBackInvoked: any, onBackCancelled: any): globalAndroid.window.OnBackInvokedCallback;

where any<any,any> should be just any or proper generic.

C

public static enable($i$a$-also-EdgeToEdge$enableEdgeToEdge$impl$1: androidx.activity.ComponentActivity, it: androidx.activity.SystemBarStyle, view: androidx.activity.SystemBarStyle): void;

can be:

public static enable(activity: androidx.activity.ComponentActivity, it: androidx.activity.SystemBarStyle, view: androidx.activity.SystemBarStyle): void;

D

public onStateChanged(servedView: androidx.lifecycle.LifecycleOwner, $i$a$-synchronized-ImmLeaksCleaner$onStateChanged$1$success$1: androidx.lifecycle.Lifecycle.Event): void;

can be:

public onStateChanged(servedView: androidx.lifecycle.LifecycleOwner, event: androidx.lifecycle.Lifecycle.Event): void;

E

public getDetectDarkMode$activity_release(): any<globalAndroid.content.res.Resources,java.lang.Boolean>;

can be:

public getDetectDarkMode$activity_release(): java.util.HashMap<globalAndroid.content.res.Resources,java.lang.Boolean>;

F

public static auto(lightScrim: number, darkScrim: number, detectDarkMode: any<any,java.lang.Boolean>): androidx.activity.SystemBarStyle;

can be:

public static auto(lightScrim: number, darkScrim: number, detectDarkMode: boolean): androidx.activity.SystemBarStyle;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions