Here are the examples of the java api com.android.layoutlib.bridge.android.RenderParamsFlags.FLAG_KEY_APPLICATION_PACKAGE taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : LayoutLibCallback.java
with Apache License 2.0
from NBANDROIDTEAM
with Apache License 2.0
from NBANDROIDTEAM
@Override
public <T> T getFlag(Key<T> key) {
if (key.equals(RenderParamsFlags.FLAG_KEY_APPLICATION_PACKAGE)) {
return (T) ResourceNamespace.RES_AUTO;
}
if (key.equals(FLAG_KEY_RECYCLER_VIEW_SUPPORT)) {
return (T) Boolean.TRUE;
}
if (key.equals(FLAG_KEY_XML_FILE_PARSER_SUPPORT)) {
return (T) Boolean.TRUE;
}
return null;
}