
/**
 * 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 android.widget.TextView;
import x7c1.wheat.ancient.resource.ViewHolderProvider;
import x7c1.linen.R;
import x7c1.linen.glue.res.layout.MenuRowTitle;

public class MenuRowTitleProvider implements ViewHolderProvider<MenuRowTitle> {

    private final LayoutInflater inflater;

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

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

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

    @Override
    public MenuRowTitle inflate(ViewGroup parent, boolean attachToRoot){
        View view = inflater.inflate(R.layout.menu_row__title, parent, attachToRoot);
        return new MenuRowTitle(
            view,
            (TextView) view.findViewById(R.id.menu_row__title__text)
        );
    }
}

@@ -358,24 +358,86 @@
 erProvider;%0A
+import x7c1.wheat.ancient.resource.ViewHolderProviderFactory;%0A
 import x7c1.
@@ -445,16 +445,16 @@
 inen.R;%0A
-
 import x
@@ -677,16 +677,21 @@
         
+this.
 inflater
@@ -722,32 +722,131 @@
 ontext);%0A    %7D%0A%0A
+    public MenuRowTitleProvider(LayoutInflater inflater)%7B%0A        this.inflater = inflater;%0A    %7D%0A%0A
     @Override%0A  
@@ -1223,12 +1223,256 @@
 urn 
-new 
+factory().createViewHolder(view);%0A    %7D%0A%0A    @Override%0A    public MenuRowTitle inflate()%7B%0A        return inflate(null, false);%0A    %7D%0A%0A    public static ViewHolderProviderFactory%3CMenuRowTitle%3E factory()%7B%0A        return new ViewHolderProviderFactory%3C
 Menu
@@ -1479,17 +1479,21 @@
 RowTitle
-(
+%3E() %7B
 %0A       
@@ -1501,14 +1501,505 @@
     
-view,%0A
+@Override%0A            public ViewHolderProvider%3CMenuRowTitle%3E create(LayoutInflater inflater)%7B%0A                return new MenuRowTitleProvider(inflater);%0A            %7D%0A            @Override%0A            public ViewHolderProvider%3CMenuRowTitle%3E create(Context context)%7B%0A                return new MenuRowTitleProvider(context);%0A            %7D%0A            @Override%0A            public MenuRowTitle createViewHolder(View view)%7B%0A                return new MenuRowTitle(%0A                    view,%0A        
     
@@ -2071,17 +2071,50 @@
         
-)
+        );%0A            %7D%0A        %7D
 ;%0A    %7D%0A

update impl