标签:else val into res out ons employee view 动态
<ImageView
android:id="@+id/adapter_store_employee_list_imgv_sex"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginLeft="5dp"
android:src="@mipmap/adapter_store_employee_male"/>
if(PersonSex.FAMALE.getValue() == user.getSex())
holder.imgvSex.setImageResource(R.mipmap.adapter_store_employee_female);
else
holder.imgvSex.setImageResource(R.mipmap.adapter_store_employee_male);
标签:else val into res out ons employee view 动态
原文地址:https://www.cnblogs.com/zhuchunyan/p/9360050.html