初始化标题栏右侧提交按钮
This commit is contained in:
parent
346882bd12
commit
5fe66c27a8
|
@ -53,6 +53,18 @@ public class FeedbackActivity extends BaseActivity{
|
||||||
String strCenterTitle = getResources().getString(R.string.FeedbackActivity);
|
String strCenterTitle = getResources().getString(R.string.FeedbackActivity);
|
||||||
// ActionBarManager.initBackTitle(getContext(), getActionBar(), strCenterTitle);
|
// ActionBarManager.initBackTitle(getContext(), getActionBar(), strCenterTitle);
|
||||||
initBackTitleBar(strCenterTitle);
|
initBackTitleBar(strCenterTitle);
|
||||||
|
initRightDoneBtn("提交", new View.OnClickListener() {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
//提交表单
|
||||||
|
if(validateForm()){
|
||||||
|
//需要设置表单元素控件的tag属性,作为表单提交的key
|
||||||
|
// DTO<String,Object> form = ToolData.gainForm(root, new DTO<String,Object>());
|
||||||
|
// ToolHTTP.post(FEED_BACK_URL, form, getFeedBackHandler());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue