ImageViewがあり、合計= 10の場合に表示したい場合、それ以外の場合は非表示にする必要がありますJavaでこれを行うにはどうすればよいですか
<ImageView android:id="@+id/a"
android:src="@drawable/cancel"
android:layout_width="25dp"
android:layout_height="50dp"
android:layout_marginTop="20dp"
android:layout_marginLeft="20dp"
android:contentDescription="@string/delete"
></ImageView>
感謝