判断一下开关开启是显示 ON
开关关闭显示 OFF
This commit is contained in:
parent
f528353dd0
commit
6b9d951c55
@ -178,7 +178,7 @@ public class LiveOpenCustomPopup extends BottomPopupView {
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(LiveStetUpStatusModel data) {
|
public void onSuccess(LiveStetUpStatusModel data) {
|
||||||
textLiveWishlist.setText(data.getWishListState() ? R.string.do_set : R.string.not_set);
|
textLiveWishlist.setText(data.getWishListState() ? R.string.do_set : R.string.not_set);
|
||||||
textRobot.setText(data.getAiStateState() ? R.string.robot_yes : R.string.robot_no);
|
textRobot.setText(data.getAiStateState() ? R.string.robot_on : R.string.robot_off);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user