I'm trying to think of an easy way to create Intent request codes that prevents potential duplication of request codes across an application.
Does using Class.hashCode() sound like a bad idea to anyone?
¯\_(ツ)_/¯
public class SomeClass {
public static final int INTENT_REQUEST_CODE_FOR_SOME_CLASS = SomeClass.class.hashCode();
}