public static int getInt ( @ NonNull final Context context , @ AttrRes final int resourceId , final int defaultValue ) { return getInt ( context , - 1 , resourceId , defaultValue ) ; }
Obtains the integer value which corresponds to a specific resource id from a context s theme .