本文整理汇总了Java中cn.eoe.app.entity.UserResponse类的典型用法代码示例。如果您正苦于以下问题:Java UserResponse类的具体用法?Java UserResponse怎么用?Java UserResponse使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
UserResponse类属于cn.eoe.app.entity包,在下文中一共展示了UserResponse类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onPostExecute
import cn.eoe.app.entity.UserResponse; //导入依赖的package包/类
@Override
protected void onPostExecute(UserResponse result) {
// TODO Auto-generated method stub
super.onPostExecute(result);
loadLayout.setVisibility(View.GONE);
if (result == null) {
UserLogOutFragment fragment=new UserLogOutFragment(
UserCenterActivity.this,true);
mTabsAdapter.addTab(getString(R.string.user_center_get_info_error),fragment );
return;
}
mTabsAdapter.addTab(getString(R.string.user_center_my_Collect), new UserCollectFragment(result,
UserCenterActivity.this));
mTabsAdapter.addTab(getString(R.string.user_center_my_Intro), new UserIntroFragment(result));
mTabsAdapter.addTab(getString(R.string.user_center_exit), new UserLogOutFragment(
UserCenterActivity.this,false));
mTabsAdapter.notifyDataSetChanged();
mViewPager.setCurrentItem(1);
}
示例2: UserIntroFragment
import cn.eoe.app.entity.UserResponse; //导入依赖的package包/类
public UserIntroFragment(UserResponse result) {
mUserResponse = result;
}
示例3: UserCollectFragment
import cn.eoe.app.entity.UserResponse; //导入依赖的package包/类
public UserCollectFragment(UserResponse userResponse,
FragmentActivity activity) {
mActivity = activity;
mUserResponse = userResponse;
}
示例4: doInBackground
import cn.eoe.app.entity.UserResponse; //导入依赖的package包/类
@Override
protected UserResponse doInBackground(String... params) {
// TODO Auto-generated method stub
return mUserDao.mapperJson(share.getString(
UserLoginUidActivity.KEY, ""));
}