-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[various] Convert example boilerplate from Java to Kotlin #12201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b5de24d
16239d6
ccace1b
7e68800
6581311
7e1682b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins.cameraxexample | ||
|
|
||
| import io.flutter.embedding.android.FlutterActivity | ||
|
|
||
| class MainActivity : FlutterActivity() |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package com.example.espresso_example | ||
|
|
||
| import io.flutter.embedding.android.FlutterActivity | ||
|
|
||
| class MainActivity : FlutterActivity() |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package dev.flutter.packages.file_selector_android_example | ||
|
|
||
| import io.flutter.embedding.android.FlutterActivity | ||
|
|
||
| class MainActivity : FlutterActivity() |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Copyright 2013 The Flutter Authors | ||
| // Use of this source code is governed by a BSD-style license that can be | ||
| // found in the LICENSE file. | ||
|
|
||
| package io.flutter.plugins | ||
|
|
||
| /** | ||
| * Annotation to aid repository tooling in determining if a test is a native java unit test or a | ||
| * java class with a dart integration. | ||
| * | ||
| * See: | ||
| * https://github.com/flutter/flutter/blob/master/docs/ecosystem/testing/Plugin-Tests.md#enabling-android-ui-tests | ||
| * for more information. | ||
| */ | ||
| @Retention(AnnotationRetention.RUNTIME) | ||
| @Target(AnnotationTarget.CLASS) | ||
| annotation class DartIntegrationTest |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this package change from videoplayer to file_selector that seems odd? Is this just a goofy diff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, goofy diff. https://github.com/flutter/packages/pull/12201/changes/BASE..7e1682bedb666ae8062250ab7cf4439d0a2b32b4#diff-184008b21da0737a5394630bb058154b375dabd33dc6d857b61c316ad1e222e1 is the reverse. Why the move detection only picked out these two files, and also thinks they swapped places, I have absolutely no idea.