Skip to content

Commit f26087e

Browse files
Update TaskActivity.kt (#504)
1 parent 56dd3b7 commit f26087e

File tree

1 file changed

+1
-1
lines changed
  • tutorial/kotlin-android/app/src/main/java/com/mongodb/tasktracker

1 file changed

+1
-1
lines changed

tutorial/kotlin-android/app/src/main/java/com/mongodb/tasktracker/TaskActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class TaskActivity : AppCompatActivity() {
137137
// Realm provides RealmRecyclerViewAdapter, which you can extend to customize for your application
138138
// pass the adapter a collection of Tasks from the realm
139139
// sort this collection so that the displayed order of Tasks remains stable across updates
140-
// :code-block-start:
140+
// :code-block-start: fetch-tasks-for-project-sorted-by-id
141141
// :hide-start:
142142
adapter = TaskAdapter(realm.where<Task>().sort("_id").findAll(), user!!, partition)
143143
// :replace-with:

0 commit comments

Comments
 (0)