Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/start/getting-started/fragments/android/add-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Now that your have DataStore persisting data locally, in the next step you'll co
</amplify-block>
</amplify-block-switcher>

1. Run the application. This will synchronize the existing local Todo items to the cloud. `DataStore.observe` will log a message when new items are synchronized locally.
1. In the Gradle Task dropdown menu in the toolbar, select **app** and run the application. This will synchronize the existing local Todo items to the cloud. `DataStore.observe` will log a message when new items are synchronized locally.

1. Open up a terminal window. You can use an external terminal or the integrated terminal in Android Studio. In the terminal, run:

Expand All @@ -57,7 +57,7 @@ Now that your have DataStore persisting data locally, in the next step you'll co
`GraphQL`
```

1. Copy and paste the following query:
1. The AWS Appsync service will open in the AWS Management Console. In the **Queries** window, paste the following query in the left pane:

```graphql
query GetTodos {
Expand All @@ -72,7 +72,7 @@ Now that your have DataStore persisting data locally, in the next step you'll co
}
```

1. Press the **play button** to run the query. This will return all of the synchronized Todos:
1. Press the **play button** to run the query. This will return all of the synchronized Todos in the right pane:

![](~/images/lib/getting-started/android/set-up-appsync-query.png)

Expand Down Expand Up @@ -103,4 +103,4 @@ Now that your have DataStore persisting data locally, in the next step you'll co

```console
com.example.todo I/Tutorial: Todo {id=b9fa0d33-873e-46f3-baa3-3148f6f47d44, name=Tidy up the office, priority=NORMAL, description=Organize books, vacuum, take out the trash}
```
```