File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/text Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,13 +181,13 @@ fun EditTextFieldState() {
181181 // textFieldState.selection: TextRange(0, 18)
182182 // [END android_compose_state_text_10]
183183
184- // [END android_compose_state_text_11]
184+ // [START android_compose_state_text_11]
185185 usernameState.setTextAndPlaceCursorAtEnd(" I really love Android" )
186186 // textFieldState.text : I really love Android
187187 // textFieldState.selection : TextRange(21, 21)
188188 // [END android_compose_state_text_11]
189189
190- // [END android_compose_state_text_12]
190+ // [START android_compose_state_text_12]
191191 usernameState.clearText()
192192 // textFieldState.text :
193193 // textFieldState.selection : TextRange(0, 0)
You can’t perform that action at this time.
0 commit comments