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 13aed7c commit 2ad3f18Copy full SHA for 2ad3f18
templates/android/docs/kotlin/example.md.twig
@@ -25,6 +25,9 @@ class MainActivity : AppCompatActivity() {
25
GlobalScope.launch {
26
{% if method.type == 'webAuth' %} {% elseif method.type == 'location' %} val result = {% else %} val response = {% endif %}{{ service.name | caseCamel }}.{{ method.name | caseCamel }}({% if method.parameters.all | length == 0 %}){% endif %}
27
28
+{% if method.type == "webAuth" %}
29
+ activity = this@MainActivity,
30
+{% endif %}
31
{% for parameter in method.parameters.all %}
32
{% if parameter.required %}
33
{{parameter.name}} = {{ parameter | paramExample }}{% if not loop.last %},{% endif %}
0 commit comments