Skip to content

Commit

Permalink
Prepare 2.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pyricau committed Dec 24, 2020
1 parent ff9ace5 commit 89d81ce
Show file tree
Hide file tree
Showing 63 changed files with 482 additions and 212 deletions.
2 changes: 1 addition & 1 deletion docs/api/leakcanary-android-core/alltypes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
|---|---|
| [leakcanary.DefaultOnHeapAnalyzedListener](../leakcanary/-default-on-heap-analyzed-listener/index.md) | Default [OnHeapAnalyzedListener](../leakcanary/-on-heap-analyzed-listener/index.md) implementation, which will store the analysis to disk and show a notification summarizing the result. |
| [leakcanary.LeakCanary](../leakcanary/-leak-canary/index.md) | The entry point API for LeakCanary. LeakCanary builds on top of [AppWatcher](#). AppWatcher notifies LeakCanary of retained instances, which in turns dumps the heap, analyses it and publishes the results. |
| [leakcanary.OnHeapAnalyzedListener](../leakcanary/-on-heap-analyzed-listener/index.md) | Listener set in [LeakCanary.Config](../leakcanary/-leak-canary/-config/index.md) and called by LeakCanary on a background thread when the heap analysis is complete. |
| [leakcanary.OnHeapAnalyzedListener](../leakcanary/-on-heap-analyzed-listener/index.md) | |
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
Finds the objects that are leaking, for which LeakCanary will compute leak traces.

Defaults to [KeyedWeakReferenceFinder](#) which finds all objects tracked by a
[KeyedWeakReference](#), ie all objects that were passed to [ObjectWatcher.watch](#).
[KeyedWeakReference](#), ie all objects that were passed to
[ObjectWatcher.expectWeaklyReachable](#).

You could instead replace it with a [FilteringLeakingObjectFinder](#), which scans all objects
in the heap dump and delegates the decision to a list of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@

`interface OnHeapAnalyzedListener`

Listener set in [LeakCanary.Config](../-leak-canary/-config/index.md) and called by LeakCanary on a background thread when the
heap analysis is complete.

You can create a [OnHeapAnalyzedListener](./index.md) from a lambda by calling [invoke](invoke.md).

### Functions

| Name | Summary |
Expand Down
8 changes: 7 additions & 1 deletion docs/api/leakcanary-android-core/leakcanary/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
|---|---|
| [DefaultOnHeapAnalyzedListener](-default-on-heap-analyzed-listener/index.md) | `class DefaultOnHeapAnalyzedListener : `[`OnHeapAnalyzedListener`](-on-heap-analyzed-listener/index.md)<br>Default [OnHeapAnalyzedListener](-on-heap-analyzed-listener/index.md) implementation, which will store the analysis to disk and show a notification summarizing the result. |
| [LeakCanary](-leak-canary/index.md) | `object LeakCanary`<br>The entry point API for LeakCanary. LeakCanary builds on top of [AppWatcher](#). AppWatcher notifies LeakCanary of retained instances, which in turns dumps the heap, analyses it and publishes the results. |
| [OnHeapAnalyzedListener](-on-heap-analyzed-listener/index.md) | `interface OnHeapAnalyzedListener`<br>Listener set in [LeakCanary.Config](-leak-canary/-config/index.md) and called by LeakCanary on a background thread when the heap analysis is complete. |
| [OnHeapAnalyzedListener](-on-heap-analyzed-listener/index.md) | `interface OnHeapAnalyzedListener` |

### Functions

| Name | Summary |
|---|---|
| [&lt;no name provided&gt;](-no name provided-.md) | `fun <no name provided>(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Listener set in [LeakCanary.Config](-leak-canary/-config/index.md) and called by LeakCanary on a background thread when the heap analysis is complete. |
5 changes: 5 additions & 0 deletions docs/api/leakcanary-object-watcher-android/alltypes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@

| Name | Summary |
|---|---|
| [leakcanary.ActivityWatcher](../leakcanary/-activity-watcher/index.md) | Expects activities to become weakly reachable soon after they receive the [Activity.onDestroy](#) callback. |
| [leakcanary.AppWatcher](../leakcanary/-app-watcher/index.md) | The entry point API for using [ObjectWatcher](#) in an Android app. [AppWatcher.objectWatcher](../leakcanary/-app-watcher/object-watcher.md) is in charge of detecting retained objects, and [AppWatcher](../leakcanary/-app-watcher/index.md) is auto configured on app start to pass it activity and fragment instances. Call [ObjectWatcher.watch](#) on [objectWatcher](../leakcanary/-app-watcher/object-watcher.md) to watch any other object that you expect to be unreachable. |
| [leakcanary.FragmentAndViewModelWatcher](../leakcanary/-fragment-and-view-model-watcher/index.md) | Expects: |
| [leakcanary.InstallableWatcher](../leakcanary/-installable-watcher/index.md) | |
| [leakcanary.RootViewWatcher](../leakcanary/-root-view-watcher/index.md) | Expects root views to become weakly reachable soon after they are removed from the window manager. |
| [leakcanary.ServiceWatcher](../leakcanary/-service-watcher/index.md) | Expects services to become weakly reachable soon after they receive the [Service.onDestroy](#) callback. |
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

# build

`fun build(): `[`AppWatcher.Config`](../index.md)
`fun ~~build~~(): `[`AppWatcher.Config`](../index.md)
**Deprecated:** Configuration moved to AppWatcher.manualInstall()

Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,17 @@

# Builder

`class Builder`

Builder for [Config](../index.md) intended to be used only from Java code.

Usage:

```
AppWatcher.Config config = AppWatcher.getConfig().newBuilder()
.watchFragmentViews(false)
.build();
AppWatcher.setConfig(config);
```

For idiomatic Kotlin use `copy()` method instead:

```
AppWatcher.config = AppWatcher.config.copy(watchFragmentViews = false)
```
`class ~~Builder~~`
**Deprecated:** Configuration moved to XML resources

### Functions

| Name | Summary |
|---|---|
| [build](build.md) | `fun build(): `[`AppWatcher.Config`](../index.md) |
| [build](build.md) | `fun ~~build~~(): `[`AppWatcher.Config`](../index.md) |
| [enabled](enabled.md) | `fun ~~enabled~~(enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md)<br>Deprecated. @see [Config.enabled](../enabled.md) |
| [watchActivities](watch-activities.md) | `fun watchActivities(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchDurationMillis](watch-duration-millis.md) | `fun watchDurationMillis(watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchFragments](watch-fragments.md) | `fun watchFragments(watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchFragmentViews](watch-fragment-views.md) | `fun watchFragmentViews(watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchViewModels](watch-view-models.md) | `fun watchViewModels(watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchActivities](watch-activities.md) | `fun ~~watchActivities~~(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchDurationMillis](watch-duration-millis.md) | `fun ~~watchDurationMillis~~(watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchFragments](watch-fragments.md) | `fun ~~watchFragments~~(watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchFragmentViews](watch-fragment-views.md) | `fun ~~watchFragmentViews~~(watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
| [watchViewModels](watch-view-models.md) | `fun ~~watchViewModels~~(watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](./index.md) |
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# watchActivities

`fun watchActivities(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
`fun ~~watchActivities~~(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
**Deprecated:** see [Config.watchActivities]

**See Also**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# watchDurationMillis

`fun watchDurationMillis(watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
`fun ~~watchDurationMillis~~(watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
**Deprecated:** see [Config.watchDurationMillis]

**See Also**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# watchFragmentViews

`fun watchFragmentViews(watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
`fun ~~watchFragmentViews~~(watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
**Deprecated:** see [Config.watchFragmentViews]

**See Also**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# watchFragments

`fun watchFragments(watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
`fun ~~watchFragments~~(watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
**Deprecated:** see [Config.watchFragments]

**See Also**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# watchViewModels

`fun watchViewModels(watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
`fun ~~watchViewModels~~(watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): `[`AppWatcher.Config.Builder`](index.md)
**Deprecated:** see [Config.watchViewModels]

**See Also**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,4 @@

# &lt;init&gt;

`Config(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = TimeUnit.SECONDS.toMillis(5), enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)`

AppWatcher configuration data class. Properties can be updated via [copy](#).

**See Also**

[config](../config.md)

`Config(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = TimeUnit.SECONDS.toMillis(5), enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)`
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,5 @@
# enabled

`val ~~enabled~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
**Deprecated:** This didn't need to be a part of LeakCanary's API. No-Op.

Deprecated, this didn't need to be a part of the API.
Used to indicate whether AppWatcher should watch objects (by keeping weak references to
them). Currently a no-op.

If you do need to stop watching objects, simply don't pass them to [objectWatcher](../object-watcher.md).
**Deprecated:** Call AppWatcher.appDefaultWatchers() with a custom ReachabilityWatcher

Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,34 @@

# Config

`data class Config`

AppWatcher configuration data class. Properties can be updated via [copy](#).

**See Also**

[config](../config.md)
`data class ~~Config~~`
**Deprecated:** Call AppWatcher.manualInstall()

### Types

| Name | Summary |
|---|---|
| [Builder](-builder/index.md) | `class Builder`<br>Builder for [Config](./index.md) intended to be used only from Java code. |
| [Builder](-builder/index.md) | `class ~~Builder~~` |

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `Config(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = TimeUnit.SECONDS.toMillis(5), enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)`<br>AppWatcher configuration data class. Properties can be updated via [copy](#). |
| [&lt;init&gt;](-init-.md) | `Config(watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true, watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = TimeUnit.SECONDS.toMillis(5), enabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = true)` |

### Properties

| Name | Summary |
|---|---|
| [enabled](enabled.md) | `val ~~enabled~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Deprecated, this didn't need to be a part of the API. Used to indicate whether AppWatcher should watch objects (by keeping weak references to them). Currently a no-op. |
| [watchActivities](watch-activities.md) | `val watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Whether AppWatcher should automatically watch destroyed activity instances. |
| [watchDurationMillis](watch-duration-millis.md) | `val watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)<br>How long to wait before reporting a watched object as retained. |
| [watchFragments](watch-fragments.md) | `val watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Whether AppWatcher should automatically watch destroyed fragment instances. |
| [watchFragmentViews](watch-fragment-views.md) | `val watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Whether AppWatcher should automatically watch destroyed fragment view instances. |
| [watchViewModels](watch-view-models.md) | `val watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Whether AppWatcher should automatically watch cleared [androidx.lifecycle.ViewModel](#) instances. |
| [enabled](enabled.md) | `val ~~enabled~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [watchActivities](watch-activities.md) | `val ~~watchActivities~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [watchDurationMillis](watch-duration-millis.md) | `val ~~watchDurationMillis~~: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) |
| [watchFragments](watch-fragments.md) | `val ~~watchFragments~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [watchFragmentViews](watch-fragment-views.md) | `val ~~watchFragmentViews~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [watchViewModels](watch-view-models.md) | `val ~~watchViewModels~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |

### Functions

| Name | Summary |
|---|---|
| [newBuilder](new-builder.md)<br>(Kotlin 999.9) | `fun newBuilder(): `[`AppWatcher.Config.Builder`](-builder/index.md)<br>Construct a new Config via [AppWatcher.Config.Builder](-builder/index.md). Note: this method is intended to be used from Java code only. For idiomatic Kotlin use `copy()` to modify [AppWatcher.config](../config.md). |
| [newBuilder](new-builder.md)<br>(Kotlin 999.9) | `fun ~~newBuilder~~(): `[`AppWatcher.Config.Builder`](-builder/index.md) |
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

# newBuilder

`fun newBuilder(): `[`AppWatcher.Config.Builder`](-builder/index.md)
`fun ~~newBuilder~~(): `[`AppWatcher.Config.Builder`](-builder/index.md)
**Deprecated:** Configuration moved to AppWatcher.manualInstall()

**Platform and version requirements:** Kotlin 999.9

Construct a new Config via [AppWatcher.Config.Builder](-builder/index.md).
Note: this method is intended to be used from Java code only. For idiomatic Kotlin use
`copy()` to modify [AppWatcher.config](../config.md).

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# watchActivities

`val watchActivities: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

Whether AppWatcher should automatically watch destroyed activity instances.

Defaults to true.
`val ~~watchActivities~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
**Deprecated:** Call AppWatcher.manualInstall() with a custom watcher list

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# watchDurationMillis

`val watchDurationMillis: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)

How long to wait before reporting a watched object as retained.

Default to 5 seconds.
`val ~~watchDurationMillis~~: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)
**Deprecated:** Call AppWatcher.manualInstall() with a custom retainedDelayMillis value

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# watchFragmentViews

`val watchFragmentViews: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

Whether AppWatcher should automatically watch destroyed fragment view instances.

Defaults to true.
`val ~~watchFragmentViews~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
**Deprecated:** Call AppWatcher.manualInstall() with a custom watcher list

Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

# watchFragments

`val watchFragments: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

Whether AppWatcher should automatically watch destroyed fragment instances.

Defaults to true.
`val ~~watchFragments~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
**Deprecated:** Call AppWatcher.manualInstall() with a custom watcher list

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

# watchViewModels

`val watchViewModels: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)

Whether AppWatcher should automatically watch cleared [androidx.lifecycle.ViewModel](#)
instances.

Defaults to true.
`val ~~watchViewModels~~: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
**Deprecated:** Call AppWatcher.manualInstall() with a custom watcher list

Loading

0 comments on commit 89d81ce

Please sign in to comment.