Template for BindableLayout
November 29, 2015 · View on GitHub
#if ({PACKAGE_NAME} && {PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
import android.content.Context;
import io.nlopez.smartadapters.views.BindableFrameLayout;
#parse("File Header.java") public class {MODEL}> {
public ${NAME}(Context context) { super(context); }
@Override public int getLayoutId() { return R.layout.${LAYOUT_NAME}; }
@Override public void onViewInflated() { // TODO add your findViewById / ButterKnife kind of stuff here }
@Override public void bind(${MODEL} item) { // TODO assign values to your view widgets } }