mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(typings): Adding Android typings for API levels from 17 to 27 (#5890)
Adding android typings for API levels from 17 to 27 BREAKING CHANGES: There is no longer added `I` prefix in the names of the interfaces. For example `android.view.IMenuItem` is now `android.view.MenuItem`. This matches the original name of the interface in the android framework.
This commit is contained in:
committed by
Alexander Vakrilov
parent
bcadcbe7b5
commit
398c9b3f33
@@ -366,8 +366,8 @@
|
||||
|
||||
export class TabLayout extends android.widget.HorizontalScrollView {
|
||||
constructor(context: android.content.Context);
|
||||
constructor(context: android.content.Context, attrs: android.util.IAttributeSet);
|
||||
constructor(context: android.content.Context, attrs: android.util.IAttributeSet, defStyle: number);
|
||||
constructor(context: android.content.Context, attrs: android.util.AttributeSet);
|
||||
constructor(context: android.content.Context, attrs: android.util.AttributeSet, defStyle: number);
|
||||
|
||||
setSelectedIndicatorColors(color: Array<number>): void;
|
||||
getSelectedIndicatorColors(): Array<number>;
|
||||
@@ -388,7 +388,7 @@
|
||||
|
||||
export class TabViewPager extends android.support.v4.view.ViewPager {
|
||||
constructor(context: android.content.Context);
|
||||
constructor(context: android.content.Context, attrs: android.util.IAttributeSet);
|
||||
constructor(context: android.content.Context, attrs: android.util.AttributeSet);
|
||||
|
||||
setSwipePageEnabled(enabled: boolean): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user