Skip to content

Instantly share code, notes, and snippets.

View kapodamy's full-sized avatar

kapodamy kapodamy

  • Argentina
View GitHub Profile
@kapodamy
kapodamy / TypedArrayCompat.java
Created December 6, 2020 01:25
TypedArray.getChangingConfigurations() for kitkat (API 19) or older versions
import android.content.res.TypedArray;
import android.util.TypedValue;
public final class TypedArrayCompat {
/**
* Return a mask of the configuration parameters for which the values in
* this typed array may change.
* Designed for API <21
*