@@ -225,7 +225,7 @@ private object ActionLaunchSendBroadcastEvent {
225
225
226
226
private object ActionLambda {
227
227
@Composable
228
- fun actionLambda () {
228
+ fun ActionLambda () {
229
229
// [START android_compose_glance_lambda01]
230
230
Text (
231
231
text = " Submit" ,
@@ -237,7 +237,7 @@ private object ActionLambda {
237
237
}
238
238
239
239
@Composable
240
- fun actionLambda2 () {
240
+ fun ActionLambda2 () {
241
241
// [START android_compose_glance_lambda02]
242
242
Button (
243
243
text = " Submit" ,
@@ -436,7 +436,7 @@ object ManageAndUpdate {
436
436
object BuildUIWithGlance {
437
437
438
438
@Composable
439
- fun example1 () {
439
+ fun Example1 () {
440
440
// [START android_compose_glance_buildUI01]
441
441
Row (modifier = GlanceModifier .fillMaxWidth().padding(16 .dp)) {
442
442
val modifier = GlanceModifier .defaultWeight()
@@ -448,7 +448,7 @@ object BuildUIWithGlance {
448
448
}
449
449
450
450
@Composable
451
- fun example2 () {
451
+ fun Example2 () {
452
452
453
453
// [START android_compose_glance_buildUI02]
454
454
// Remember to import Glance Composables
@@ -466,7 +466,7 @@ object BuildUIWithGlance {
466
466
}
467
467
468
468
@Composable
469
- fun example3 () {
469
+ fun Example3 () {
470
470
// [START android_compose_glance_buildUI03]
471
471
LazyColumn {
472
472
item {
@@ -480,7 +480,7 @@ object BuildUIWithGlance {
480
480
}
481
481
482
482
@Composable
483
- fun example4 () {
483
+ fun Example4 () {
484
484
val peopleNameList = arrayListOf<String >()
485
485
val peopleList = arrayListOf<Person >()
486
486
@@ -631,7 +631,7 @@ object SizeModeSnippets3 {
631
631
632
632
object AccessResources {
633
633
@Composable
634
- fun example1 () {
634
+ fun Example1 () {
635
635
// [START android_compose_glance_buildUI10]
636
636
LocalContext .current.getString(R .string.glance_title)
637
637
// [END android_compose_glance_buildUI10]
@@ -651,7 +651,7 @@ object AccessResources {
651
651
652
652
object CompoundButton {
653
653
@Composable
654
- fun example1 () {
654
+ fun Example1 () {
655
655
// [START android_compose_glance_buildUI12]
656
656
var isApplesChecked by remember { mutableStateOf(false ) }
657
657
var isEnabledSwitched by remember { mutableStateOf(false ) }
@@ -860,7 +860,7 @@ object GlanceTheming {
860
860
}
861
861
862
862
@Composable
863
- fun shapeExample () {
863
+ fun ShapeExample () {
864
864
// Note : android_compose_glance_glancetheming04 is found in button_outline.xml
865
865
// [START android_compose_glance_glancetheming05]
866
866
GlanceModifier .background(
@@ -898,7 +898,7 @@ object GlanceInnerPadding {
898
898
899
899
object GlanceInteroperability {
900
900
@Composable
901
- fun example01 () {
901
+ fun Example01 () {
902
902
// [START android_compose_glance_glanceinteroperability01]
903
903
val packageName = LocalContext .current.packageName
904
904
Column (modifier = GlanceModifier .fillMaxSize()) {
@@ -909,7 +909,7 @@ object GlanceInteroperability {
909
909
}
910
910
911
911
@Composable
912
- fun example02 () {
912
+ fun Example02 () {
913
913
val packageName = null
914
914
915
915
// [START android_compose_glance_glanceinteroperability02]
0 commit comments