We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13c7479 commit 73ad349Copy full SHA for 73ad349
src/tabs/tabs.android.ts
@@ -847,7 +847,10 @@ export class Tabs extends TabsBase {
847
// }
848
849
public updateAndroidItemAt(index: number, spec: com.nativescript.material.core.TabItemSpec) {
850
- this._tabsBar.updateItemAt(index, spec);
+ // that try catch is fix for an android NPE error on css change which navigated in (not the current fragment)
851
+ try {
852
+ this._tabsBar.updateItemAt(index, spec);
853
+ } catch (err) {}
854
}
855
856
public getTabBarBackgroundColor(): android.graphics.drawable.Drawable {
0 commit comments