Skip to content
This repository was archived by the owner on Dec 17, 2020. It is now read-only.

Commit a70ce4e

Browse files
committed
Added step 4 to the Basic usage index.
1 parent 63a1faf commit a70ce4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ dependencies {
4141

4242
## 1. Basic usage
4343
---
44-
In order to, execute a task which modifies the user-interface and to retain it across configuration changes you will need to do three things:
44+
In order to, execute a task which modifies the user-interface and to retain it across configuration changes you will need to do four things:
4545

4646
1. Create an implementation of the `Task` class;
4747
2. Make your Activity extend the `TaskActivityCompat` class (or for Fragments the `TaskFragmentCompat` class);
4848
3. Implement the `Callback` interface somewhere and execute the task using the `TaskManager`;
49-
49+
4. Retain the task using the `TaskActivityCompat.onPreAttach()` method.
5050

5151
### 1.1 Creating the task
5252

0 commit comments

Comments
 (0)