daniel-stoneuk / material-about-library

Makes it easy to create beautiful about screens for your apps
Apache License 2.0
1.12k stars 140 forks source link

Use application context instead of context to avoid leaking memory #75

Closed code-schreiber closed 6 years ago

code-schreiber commented 6 years ago

To avoid the activity leaking it is enough to pass the application context and not the activity directly to ConvenienceBuilder.

Fixes issue https://github.com/daniel-stoneuk/material-about-library/issues/74

daniel-stoneuk commented 6 years ago

Thanks! I'll get round to merging this in a couple days.