You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: toolkit/featureforms/src/main/java/com/arcgismaps/toolkit/featureforms/internal/components/attachment/AttachmentElementState.kt
+3-2
Original file line number
Diff line number
Diff line change
@@ -162,13 +162,14 @@ internal class AttachmentElementState(
162
162
scope = scope,
163
163
formAttachment = formAttachment
164
164
)
165
-
attachments.add(state)
165
+
// add the new state to the beginning of the list
166
+
attachments.add(0, state)
166
167
// load the new attachment
167
168
state.loadWithParentScope()
168
169
// scroll to the new attachment after a delay to allow the recomposition to complete
0 commit comments