023: Android Dev Summit Recap

Donn and Kaushik cover the happenings of Google’s very first Android Developer conference – “Android Dev Summit”. Together, they attended the conference both virtually and physically! Listen on for the highlights.

Download

Sessions

Sample projects

Contact us:

022: Effective Java for Android developers : Item 5

In this mini Fragment, we introduce Joshua’s fifth Item: Avoid creating unnecessary objects.

Stay tuned for more items from our “Effective Java for Android developers” Fragment series.

Download

Show Notes

Avoid creating unnecessary objects

Snippet to demonstrate AutoBoxing problems

// sum of all positive values
Long sum = 0L;
for (long i=0; i< Integer.MAX_VALUE; i++) {
  sum+=i;
}

Contact

021: Diving Deep with Dagger

Download

Show Notes

In other news

Dagger

Jesse Wilson Cameo

Other references

Awesome picks:

Donn’s picks:

KG’s picks:

Contact us:

020: Talking Kotlin with Hadi Hariri

A tonne of folks have been asking for a show on Kotlin. We got the best person in the business to take us through what could possibly be our new hope.

Download

Show Notes

Jetbrains products

Smaller IDES

Hadi’s 3 tips for Intellij

  1. Don’t use the Mouse! Mouseless driven development [vimeo.com]
  2. Cmd Shift A – look up other commands
  3. Don’t use the Find box to find things: Prefer shortcuts like Cmd O/Cmd Shift O

Kotlin

Getting started with Kotlin

Kotlin tools

Sample projects with Kotlin

Misc

Awesome picks:

Hadi Hariri

Kaushik Gopal

  • When looking for solutions to a problem, search the source code first before StackOverflow
  • When working on a feature, change your launcher activity (temporarily) to the one you’re working on

Donn Felker

Contact us:

019: Effective Java for Android developers : Item 4

Singer and Android developer Donn Felker explores Joshua Bloch’s fourth Item: Enforce noninstantiability with a private constructor.

Stay tuned, cause we got more of these quick ones coming.

Download

Show Notes:

Enforce noninstantiability with a private constructor.

Examples where you don’t want class to be instantiated

  1. class that groups static methods and static fields (Util like classes think java.lang.Math/java.util.Arrays)
  2. class that groups static methods (including factory methods) for objects implementing specific interfaces (think java.util.Collections)
  3. class that group methods on a final class (vs. extending the class)

Considerations

  • Makes no sense to instantiate such “Util” classes
  • Private constructors prevent instantiation
  • Important side effect: prevents subclassing

Contact us: