mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
@@ -404,8 +404,8 @@ export class Tabs extends TabsBase {
|
||||
public createNativeView() {
|
||||
initializeNativeClasses();
|
||||
// TODO
|
||||
// if (traceEnabled()) {
|
||||
// traceWrite("TabView._createUI(" + this + ");", traceCategory);
|
||||
// if (Trace.isEnabled()) {
|
||||
// Trace.write("TabView._createUI(" + this + ");", traceCategory);
|
||||
// }
|
||||
|
||||
const context: android.content.Context = this._context;
|
||||
@@ -948,8 +948,8 @@ export class Tabs extends TabsBase {
|
||||
|
||||
[selectedIndexProperty.setNative](value: number) {
|
||||
// TODO
|
||||
// if (traceEnabled()) {
|
||||
// traceWrite("TabView this._viewPager.setCurrentItem(" + value + ", " + smoothScroll + ");", traceCategory);
|
||||
// if (Trace.isEnabled()) {
|
||||
// Trace.write("TabView this._viewPager.setCurrentItem(" + value + ", " + smoothScroll + ");", traceCategory);
|
||||
// }
|
||||
this._viewPager.setCurrentItem(value, this.animationEnabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user