Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2b272f81
Commit
2b272f81
authored
Oct 24, 2019
by
Andrey Gordeev
Committed by
Zachary Anderson
Oct 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent Kotlin code with 4 spaces (#43080)
As stated in Kotlin Coding Conventions. Closes #42212
parent
598cdf21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
MainActivity.kt
...m/example/android_embedding_v2_smoke_test/MainActivity.kt
+3
-3
MainActivity.kt.tmpl
...pp/src/main/kotlin/androidIdentifier/MainActivity.kt.tmpl
+7
-7
No files found.
dev/integration_tests/android_embedding_v2_smoke_test/android/app/src/main/kotlin/com/example/android_embedding_v2_smoke_test/MainActivity.kt
View file @
2b272f81
...
...
@@ -6,7 +6,7 @@ import io.flutter.embedding.android.FlutterActivity
import
io.flutter.embedding.engine.FlutterEngine
class
MainActivity
:
FlutterActivity
()
{
override
fun
configureFlutterEngine
(
@NonNull
flutterEngine
:
FlutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
override
fun
configureFlutterEngine
(
@NonNull
flutterEngine
:
FlutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
packages/flutter_tools/templates/app/android-kotlin.tmpl/app/src/main/kotlin/androidIdentifier/MainActivity.kt.tmpl
View file @
2b272f81
...
...
@@ -12,9 +12,9 @@ import io.flutter.embedding.android.FlutterActivity
import
io
.
flutter
.
embedding
.
engine
.
FlutterEngine
class
MainActivity
:
FlutterActivity
()
{
override
fun
configureFlutterEngine
(@
NonNull
flutterEngine
:
FlutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
override
fun
configureFlutterEngine
(@
NonNull
flutterEngine
:
FlutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
{{/
useAndroidEmbeddingV2
}}
{{^
useAndroidEmbeddingV2
}}
...
...
@@ -23,9 +23,9 @@ import io.flutter.app.FlutterActivity
import
io
.
flutter
.
plugins
.
GeneratedPluginRegistrant
class
MainActivity
:
FlutterActivity
()
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
GeneratedPluginRegistrant
.
registerWith
(
this
)
}
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
GeneratedPluginRegistrant
.
registerWith
(
this
)
}
}
{{/
useAndroidEmbeddingV2
}}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment