feat(android): androidX support (#7039)

* feat: migrate support library namespaces to androidX

* feat(tns-platform-declarations): update to androidX typings

* chore(tests): migrate test apps to AndroidX

* chore(tns-platform-declarations): update tsconfig to include androidx dts files

* update package.json to androidx

* chore(androidx): migrate forgotten support library namspaces

* feat(tns-core-modules-widgets): migrate to AndroidX namespaces

* chore(utils): update androidx namspace for getPaletteColor method

* chore(apps): update tns-platform-declarations package

* Update package.json
This commit is contained in:
Alexander Djenkov
2019-06-10 09:21:41 +03:00
committed by GitHub
parent 0a4b813430
commit c5db112b8d
60 changed files with 142022 additions and 126742 deletions

View File

@ -166,10 +166,10 @@
public verticalAlignment: VerticalAlignment;
}
export class FragmentBase extends android.support.v4.app.Fragment {
export class FragmentBase extends androidx.fragment.app.Fragment {
constructor();
public getRemovingParentFragment(): android.support.v4.app.Fragment;
public getRemovingParentFragment(): androidx.fragment.app.Fragment;
}
export enum Stretch {
@ -390,7 +390,7 @@
setTabTextFontSize(fontSize: number): void;
getTabTextFontSize(): number;
setItems(items: Array<TabItemSpec>, viewPager: android.support.v4.view.ViewPager): void;
setItems(items: Array<TabItemSpec>, viewPager: androidx.viewpager.widget.ViewPager): void;
updateItemAt(position: number, itemSpec: TabItemSpec): void;
getTextViewForItemAt(index: number): android.widget.TextView;
@ -398,7 +398,7 @@
getItemCount(): number;
}
export class TabViewPager extends android.support.v4.view.ViewPager {
export class TabViewPager extends androidx.viewpager.widget.ViewPager {
constructor(context: android.content.Context);
constructor(context: android.content.Context, attrs: android.util.AttributeSet);