
/**
 * This file is automatically generated by wheat-build.
 * Do not modify this file -- YOUR CHANGES WILL BE ERASED!
 */

package x7c1.linen.res.layout;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.View;
import x7c1.wheat.ancient.resource.ViewHolderProvider;
import x7c1.linen.R;
import x7c1.linen.glue.res.layout.MenuRowSeparator;

public class MenuRowSeparatorProvider implements ViewHolderProvider<MenuRowSeparator> {

    private final LayoutInflater inflater;

    public MenuRowSeparatorProvider(Context context){
        inflater = LayoutInflater.from(context);
    }

    @Override
    public int layoutId(){
        return R.layout.menu_row__separator;
    }

    @Override
    public MenuRowSeparator inflateOn(ViewGroup parent){
        return inflate(parent, false);
    }

    @Override
    public MenuRowSeparator inflate(ViewGroup parent, boolean attachToRoot){
        View view = inflater.inflate(R.layout.menu_row__separator, parent, attachToRoot);
        return new MenuRowSeparator(
            view
        );
    }
}

@@ -326,24 +326,86 @@
 erProvider;%0A
+import x7c1.wheat.ancient.resource.ViewHolderProviderFactory;%0A
 import x7c1.
@@ -413,16 +413,16 @@
 inen.R;%0A
-
 import x
@@ -661,16 +661,21 @@
         
+this.
 inflater
@@ -706,32 +706,135 @@
 ontext);%0A    %7D%0A%0A
+    public MenuRowSeparatorProvider(LayoutInflater inflater)%7B%0A        this.inflater = inflater;%0A    %7D%0A%0A
     @Override%0A  
@@ -1227,12 +1227,264 @@
 urn 
-new 
+factory().createViewHolder(view);%0A    %7D%0A%0A    @Override%0A    public MenuRowSeparator inflate()%7B%0A        return inflate(null, false);%0A    %7D%0A%0A    public static ViewHolderProviderFactory%3CMenuRowSeparator%3E factory()%7B%0A        return new ViewHolderProviderFactory%3C
 Menu
@@ -1495,17 +1495,21 @@
 eparator
-(
+%3E() %7B
 %0A       
@@ -1517,22 +1517,562 @@
     
-view%0A        )
+@Override%0A            public ViewHolderProvider%3CMenuRowSeparator%3E create(LayoutInflater inflater)%7B%0A                return new MenuRowSeparatorProvider(inflater);%0A            %7D%0A            @Override%0A            public ViewHolderProvider%3CMenuRowSeparator%3E create(Context context)%7B%0A                return new MenuRowSeparatorProvider(context);%0A            %7D%0A            @Override%0A            public MenuRowSeparator createViewHolder(View view)%7B%0A                return new MenuRowSeparator(%0A                    view%0A                );%0A            %7D%0A        %7D
 ;%0A  

update impl