List of usage examples for android.util ArrayMap ArrayMap
public ArrayMap(ArrayMap<K, V> map)
From source file:com.appsimobile.appsii.compat.MapCompat.java
public static <K, V> Map<K, V> createMap(int capacity) { if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { return new ArrayMap<>(capacity); }// w ww. j a v a2s . co m return new android.support.v4.util.ArrayMap<>(capacity); }
From source file:com.androidinspain.deskclock.FragmentTabPagerAdapter.java
FragmentTabPagerAdapter(DeskClock deskClock) {
mDeskClock = deskClock;
mFragmentCache = new ArrayMap<>(getCount());
mFragmentManager = deskClock.getFragmentManager();
}