Become a member
Sign in
Ravi Yadav
Ravi Yadav

Ravi Yadav

Askfortricks.com

130 Following
24 Followers
·
  • Profile

  • Claps

  • Highlights

  • Responses

Highlighted by Ravi Yadav

See more

From Finally understanding how references work in Android and Java by Enrique López Mañas

The memory leak actually happens not only when the Activity is destroyed per-se, but as well when it is forcibly destroyed by the system due to a change in the configuration or more memory is needed, etc. If the AsyncTask is complex (i.e., keeps references to Views in the Activity, etc) it could even lead to crashes, since the view references are null.

From Dagger 2 for Android Beginners — Introduction by Hari Vignesh Jayapalan

…cts. But if there are so many dependencies within the method or the class, it will be hard to test. If a java class creates an instance of another class via the new operator, then it cannot be used and tested independently from that class.

Claps from Ravi Yadav

See more

Creating Awesome Login Screen in Flutter

Subir Chakraborty

MVVM (Model View ViewModel) + Kotlin + Google Jetpack

Ankit Bisht

Here Are 7 of the Best Self-Improvement Books of All Time

Steve Spring