Search in sources :

Example 1 with EViewHolder

use of org.androidannotations.holder.EViewHolder in project androidannotations by androidannotations.

the class ViewNotifierHelper method wrapInitWithNotifier.

public void wrapInitWithNotifier() {
    JBlock initBlock = holder.getInit().body();
    JVar previousNotifier = replacePreviousNotifier(initBlock);
    ((EViewHolder) holder).setInitBody(holder.getInit().body().blockSimple());
    resetPreviousNotifier(initBlock.blockSimple(), previousNotifier);
}
Also used : JBlock(com.helger.jcodemodel.JBlock) JVar(com.helger.jcodemodel.JVar) EViewHolder(org.androidannotations.holder.EViewHolder)

Aggregations

JBlock (com.helger.jcodemodel.JBlock)1 JVar (com.helger.jcodemodel.JVar)1 EViewHolder (org.androidannotations.holder.EViewHolder)1