class ContextThemeWrapper extends ContextWrapper {

    @Override
    public Object getSystemService(String name) {
        if (LAYOUT_INFLATER_SERVICE.equals(name)) {
            if (mInflater == null) {
                mInflater = LayoutInflater.from(getBaseContext()).cloneInContext(this);
            }
            return mInflater;
        }
        return getBaseContext().getSystemService(name);
    }

    public  ContextThemeWrapper();
    public  ContextThemeWrapper(Context base, @StyleRes int themeResId);
    public  ContextThemeWrapper(Context base, Resources.Theme theme);

}