use of com.alibaba.android.vlayout.LayoutHelper in project Tangram-Android by alibaba.
the class PinBottomCard method convertLayoutHelper.
@Nullable
@Override
public LayoutHelper convertLayoutHelper(@Nullable LayoutHelper oldHelper) {
LayoutHelper helper = super.convertLayoutHelper(oldHelper);
if (helper instanceof FixLayoutHelper) {
((FixLayoutHelper) helper).setAlignType(FixLayoutHelper.BOTTOM_LEFT);
((FixLayoutHelper) helper).setSketchMeasure(true);
}
return helper;
}
Aggregations