package org.itsnat.droid.impl.xmlinflater.layout.attr.view; import android.view.View; import android.view.ViewGroup; import org.itsnat.droid.impl.util.MapSmart; import org.itsnat.droid.impl.xmlinflater.layout.AttrLayoutContext; import org.itsnat.droid.impl.xmlinflater.layout.classtree.ClassDescViewBased; import org.itsnat.droid.impl.xmlinflater.shared.attr.AttrDescReflecMethodNameMultiple; /** * Created by jmarranz on 30/04/14. */ public class AttrDescView_view_ViewGroup_persistentDrawingCache extends AttrDescReflecMethodNameMultiple<ClassDescViewBased,View,AttrLayoutContext> { public static final MapSmart<String,Integer> nameValueMap = MapSmart.<String,Integer>create(4); static { nameValueMap.put("none", ViewGroup.PERSISTENT_NO_CACHE); nameValueMap.put("animation", ViewGroup.PERSISTENT_ANIMATION_CACHE); nameValueMap.put("scrolling", ViewGroup.PERSISTENT_SCROLLING_CACHE); nameValueMap.put("all", ViewGroup.PERSISTENT_ALL_CACHES); } public AttrDescView_view_ViewGroup_persistentDrawingCache(ClassDescViewBased parent) { super(parent,"persistentDrawingCache", nameValueMap,"scrolling"); } }