Back to project page Cervantes.
The source code is released under:
Apache License
If you think the Android project Cervantes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package me.alexrs.cervantes.ui.recyclerview.renderers; //from w w w . ja v a 2s . c o m import android.support.annotation.LayoutRes; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import me.alexrs.cervantes.R; import me.alexrs.cervantes.ui.recyclerview.viewholder.MultipleWordsViewHolder; import me.alexrs.recyclerviewrenderers.renderer.Renderer; import me.alexrs.recyclerviewrenderers.viewholder.RenderViewHolder; /** * @author Alejandro on 27/11/14. */ public class ItemMultipleWords extends Renderer { public ItemMultipleWords(@LayoutRes int id) { super(id); } @Override public RenderViewHolder onCreateViewHolder(ViewGroup viewGroup, @LayoutRes int id) { View itemView = LayoutInflater.from(viewGroup.getContext()) .inflate(R.layout.i_multiple_words, viewGroup, false); return new MultipleWordsViewHolder(itemView); } }