Skip to content

Commit d023167

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
style(examples): remove unused app imports
Remove unused github.com/AndroidGoLab/jni/app imports from battery, notification, toast, and usage examples (now using exampleui.GetAppContext).
1 parent bf4cc78 commit d023167

4 files changed

Lines changed: 0 additions & 4 deletions

File tree

examples/battery/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
"github.com/AndroidGoLab/jni"
2727
"github.com/AndroidGoLab/jni/capi"
2828
"github.com/AndroidGoLab/jni/exampleui"
29-
"github.com/AndroidGoLab/jni/app"
3029
"github.com/AndroidGoLab/jni/os/battery"
3130
)
3231

examples/notification/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import (
3939
"github.com/AndroidGoLab/jni"
4040
"github.com/AndroidGoLab/jni/capi"
4141
"github.com/AndroidGoLab/jni/exampleui"
42-
"github.com/AndroidGoLab/jni/app"
4342
"github.com/AndroidGoLab/jni/app/notification"
4443
)
4544

examples/toast/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import (
3131
"github.com/AndroidGoLab/jni"
3232
"github.com/AndroidGoLab/jni/capi"
3333
"github.com/AndroidGoLab/jni/exampleui"
34-
"github.com/AndroidGoLab/jni/app"
3534
"github.com/AndroidGoLab/jni/widget/toast"
3635
)
3736

examples/usage/main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import (
2828
"github.com/AndroidGoLab/jni"
2929
"github.com/AndroidGoLab/jni/capi"
3030
"github.com/AndroidGoLab/jni/exampleui"
31-
"github.com/AndroidGoLab/jni/app"
3231
"github.com/AndroidGoLab/jni/app/usage"
3332
)
3433

0 commit comments

Comments
 (0)