Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/error-prone.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ By default the checker is applied to AutoDispose interfaces and standard Android
1. [Activity](https://developer.android.com/reference/android/app/Activity.html)
2. [Fragment](https://developer.android.com/reference/android/app/Fragment.html)
3. [Support Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment.html)
4. [LifecycleScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/LifecycleScopeProvider.html)
5. [ScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/ScopeProvider.html)
4. [LifecycleScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose-lifecycle/autodispose2.lifecycle/-lifecycle-scope-provider/index.html)
5. [ScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose/autodispose2/-scope-provider/index.html)
6. [LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner.html)

This can be configured by [Error-Prone's command line flags](https://errorprone.info/docs/flags). The following flag is supported and takes input in a form of comma separated list of fully qualified class names of classes with scopes:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ implementation 'com.uber.autodispose:autodispose-rxlifecycle:x.y.z'
implementation 'com.uber.autodispose:autodispose-rxlifecycle3:x.y.z'
```

Javadocs and KDocs for the most recent release can be found here: https://uber.github.io/AutoDispose/2.x/autodispose/
Javadocs and KDocs for the most recent release can be found here: https://uber.github.io/AutoDispose/api/2.x/autodispose/

Snapshots of the development version are available in [Sonatype's snapshots repository][snapshots].

Expand Down
2 changes: 1 addition & 1 deletion docs/lint-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ By default, the lint check is applied to AutoDispose interfaces and standard And
1. [Activity](https://developer.android.com/reference/android/app/Activity.html)
2. [Fragment](https://developer.android.com/reference/android/app/Fragment.html)
3. [Support Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment.html)
4. [ScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/ScopeProvider.html) (which implicitly includes [LifecycleScopeProvider](https://uber.github.io/AutoDispose/1.x/autodispose/com/uber/autodispose/LifecycleScopeProvider.html))
4. [ScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose/autodispose2/-scope-provider/index.html) (which implicitly includes [LifecycleScopeProvider](https://uber.github.io/AutoDispose/api/2.x/autodispose-lifecycle/autodispose2.lifecycle/-lifecycle-scope-provider/index.html))
5. [LifecycleOwner](https://developer.android.com/reference/android/arch/lifecycle/LifecycleOwner.html)

You can add your own custom scopes that you want the lint check applied to. In your **app-level** `gradle.properties` file, add the fully qualified name of your custom classes as comma-separated-values like so:
Expand Down