Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent (Wen Yu) Ge authored Jan 23, 2024
1 parent c58bb8f commit 86cc9d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/routes/docs/tutorials/android/step-5/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ private fun AppContent(accountService: AccountService) {
}
```

# Test the MainActivity {% #creating-the-mainactivity %}
# Test the MainActivity {% #test-the-mainactivity %}

Launch the app and you should be able to use the Login screen to register, login, and logout. Confirm your email address is displayed once you are logged in.
4 changes: 2 additions & 2 deletions src/routes/docs/tutorials/android/step-6/+page.markdoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Add databases and queries to store user data in you Android applica
step: 6
---

# Create collection
# Create collection {% #create-collection %}

In Appwrite, data is stored as a collection of documents. Create a collection in the [Appwrite Console](https://cloud.appwrite.io/) to store our ideas.

Expand Down Expand Up @@ -35,7 +35,7 @@ Create a new collection with the following attributes:
Navigate to the **Settings** tab of your collection, add the role **Any** and check the **Read** box.
Next, add a **Users** role and give them access to **Create**, **Update** and **Delete** by checking those boxes.

# Add and remove methods
# Add and remove methods {% #add-add-remove-methods %}

Now that you have a collection to hold ideas, we can read and write to it from our app.
Create a new file `services/IdeasService.kt` and add the following code to it. Replace the values for `ideaDatabaseId` and `ideaCollectionId` with the IDs of the database and collection you created in the previous step.
Expand Down

0 comments on commit 86cc9d3

Please sign in to comment.