r/androidresources • u/amitshekhariitbhu • Aug 12 '20
r/androidresources • u/amitshekhariitbhu • Aug 19 '20
Adding timeout in Network Call using Kotlin Coroutines
r/androidresources • u/amitshekhariitbhu • Jul 22 '20
Kotlin - Idiomatic way to remove duplicate strings from an array
r/androidresources • u/amitshekhariitbhu • Jul 13 '20
Android App Release Checklist For The Production Launch
r/androidresources • u/amitshekhariitbhu • Oct 17 '20
In-App Review in Android
r/androidresources • u/amitshekhariitbhu • Jun 11 '20
Unwrapping the Android 11 Beta, plus more developer updates
r/androidresources • u/amitshekhariitbhu • Aug 02 '20
Learn Kotlin Collection Functions: associateBy
r/androidresources • u/amitshekhariitbhu • Aug 06 '20
Learn about JvmStatic, JvmOverloads and JvmField annotations in Kotlin
r/androidresources • u/amitshekhariitbhu • Jul 15 '20
Infix notation in Kotlin
Functions marked with the infix keyword can also be called using the infix notation (omitting the dot and the parentheses for the call).
Infix functions must satisfy the following requirements:
- They must be member functions or extension functions;
- They must have a single parameter;
- The parameter must not accept variable number of arguments and must have no default value.
Source: Kotlin Official Website

r/androidresources • u/amitshekhariitbhu • Aug 07 '20
Using Coordinator Layout in Android
r/androidresources • u/amitshekhariitbhu • Jun 06 '20
[Kotlin Tips] check whether the 'lateinit' property was initialized
r/androidresources • u/amitshekhariitbhu • Jun 02 '20
Android Studio 4.0
r/androidresources • u/amitshekhariitbhu • Jul 16 '20
Kotlin Best Practices: For calling multiple methods on an object instance, use "with" or "apply" based on your use-case.
Detailed Blog: https://blog.mindorks.com/using-scoped-functions-in-kotlin-let-run-with-also-apply
class Car {
fun start() {}
fun move() {}
fun turn(direction: Direction) {}
fun stop() {}
}
// NOT Best practice
val car = Car()
// some other code
// then
car.start()
car.move()
car.turn(Direction.LEFT)
car.move()
car.turn(Direction.RIGHT)
car.move()
car.stop()
// Best practice
val car = Car()
// some other code
// then
with(car) {
start()
move()
turn(Direction.LEFT)
move()
turn(Direction.RIGHT)
move()
stop()
}r/androidresources • u/amitshekhariitbhu • Jul 06 '20
[Kotlin Tips] named and default arguments
r/androidresources • u/amitshekhariitbhu • Nov 03 '20
Understanding ExifInterface
r/androidresources • u/amitshekhariitbhu • Jun 18 '20
[Kotlin Tips] union, intersect or subtract
r/androidresources • u/amitshekhariitbhu • Jul 07 '20
[Kotlin Tips] Take advantage of Value Objects
r/androidresources • u/amitshekhariitbhu • Jul 24 '20
Shared ViewModel in Android: Shared between Fragments
r/androidresources • u/amitshekhariitbhu • Jun 05 '20
Android Rendering Performance
r/androidresources • u/amitshekhariitbhu • Sep 03 '20
RecyclerView Optimization - Scrolling Performance Improvement
r/androidresources • u/amitshekhariitbhu • Jun 02 '20
Why do we use the Dependency Injection Framework like Dagger in Android?
We should use the dependency framework because of the following:
It helps us in managing the complex dependencies easily.
It makes the unit testing easy by enabling us to pass all the dependencies from outside so that we can easily use the mocked objects.
It easily manages the scope(lifecycle) of the object.
r/androidresources • u/amitshekhariitbhu • Aug 10 '20
How The Android Image Loading Library Glide and Fresco Works?
r/androidresources • u/amitshekhariitbhu • Jun 02 '20
Don't Rewrite Your App, Unless You Have To
r/androidresources • u/amitshekhariitbhu • Jun 04 '20
[Kotlin Tips] double-ended queue – Deque
r/androidresources • u/amitshekhariitbhu • Nov 02 '20
