This is a sample app that leaks intentionally references to learn how to avoid them.
There's is a main activity that will launch a second (the one that will leak the reference or avoid it)
Inside each test there will be one package leaked
with the leak one and clean
with the not retained and not leaked reference.
Will be using this awesome Leak Canary library to show when there is a memory leak and when not.
The idea is that you open one activity and then close it and see with Leak Canary if its leaked or not.