号簿助手 v4.6.31版本的 MD5 值为:9d7ff98a6bb5cc178eac2df4d1b2f0e0
以下内容为反编译后的 HelpFeedbackActivity.java 源代码,内容仅作参考
package com.chinatelecom.pim.activity.setting;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.chinatelecom.pim.core.IConstant;
import com.chinatelecom.pim.core.view.ActivityView;
import com.chinatelecom.pim.ui.adapter.setting.HelpFeedbackAdapter;
public class HelpFeedbackActivity extends ActivityView<HelpFeedbackAdapter> {
@Override
public HelpFeedbackAdapter initializeAdapter() {
return new HelpFeedbackAdapter(this, null);
}
@Override
public void doCreate(Bundle bundle, HelpFeedbackAdapter adapter) {
adapter.setup();
adapter.getTheme();
adapter.addItemView();
setupListener(adapter.getModel());
}
@Override
public void doResume(HelpFeedbackAdapter adapter) {
super.doResume((HelpFeedbackActivity) adapter);
adapter.getModel().getHeaderView().getLayout().getBackground().setAlpha(255);
}
private void setupListener(HelpFeedbackAdapter.HelpFeedbackModel model) {
model.getHeaderView().getLeftView().setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
HelpFeedbackActivity.this.finish();
}
});
model.getHelperItemRow().build().setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
HelpFeedbackActivity.this.startActivity(new Intent(HelpFeedbackActivity.this, (Class<?>) HelpActivity.class));
}
});
model.getOnlineServiceItemRow().build().setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(HelpFeedbackActivity.this, (Class<?>) WebViewActivity.class);
intent.putExtra(IConstant.Intent.INTENT_WEB_URL, "http://im.189.cn/cw/?cf=1&cid=1043&manid=730");
intent.putExtra(IConstant.Intent.INTENT_WEB_TITLE, "在线客服");
HelpFeedbackActivity.this.startActivity(intent);
}
});
}
}