光环助手V3.2 DEV(20180412-1000)测试问题汇总(完成部分)

This commit is contained in:
kehaoyuan
2018-04-13 14:13:41 +08:00
parent 2102dd729c
commit 0d883b76fe
22 changed files with 170 additions and 173 deletions

View File

@ -41,39 +41,6 @@ public class BindingAdapters {
}
}
@BindingAdapter("messageCommand")
public static void setMessageCommand(TextView view, String command) {
switch (command) {
case "answer":
view.setText("回答了我的问题");
break;
case "reply":
view.setText("回复了我");
break;
case "follow_question":
view.setText("回答了我关注的问题");
break;
case "reply_comment_answer":
view.setText("回复了我");
break;
case "answer_comment":
view.setText("评论了我");
break;
case "answer_vote":
view.setText("赞同了我的回答");
break;
case "comment_vote":
view.setText("赞了我");
break;
case "answer_comment_vote":
view.setText("赞了我");
break;
case "invited":
view.setText("邀请我回答");
break;
}
}
@BindingAdapter("serverTypePadding")
public static void setServerTypePadding(TextView view, String serverType) {
int paddRight = 0;