use of com.helger.jcodemodel.JDefinedClass in project androidannotations by androidannotations.
the class EComponentWithViewSupportHolder method createOnSeekBarChangeListenerHolder.
private OnSeekBarChangeListenerHolder createOnSeekBarChangeListenerHolder(JFieldRef idRef) {
JDefinedClass onSeekbarChangeListenerClass = getCodeModel().anonymousClass(getClasses().ON_SEEKBAR_CHANGE_LISTENER);
AbstractJClass viewClass = getClasses().SEEKBAR;
FoundViewHolder foundViewHolder = getFoundViewHolder(idRef, viewClass);
foundViewHolder.getIfNotNullBlock().invoke(foundViewHolder.getRef(), "setOnSeekBarChangeListener").arg(_new(onSeekbarChangeListenerClass));
return new OnSeekBarChangeListenerHolder(this, onSeekbarChangeListenerClass);
}
Aggregations