public EventTheme getItem(int position) { EventTheme theme = null; if (mThemeCursor != null && mThemeCursor.moveToPosition(position)) { theme = QiupuORM.createEventThemeInfo(mThemeCursor); } return theme; }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); orm = QiupuORM.getInstance(mActivity); mHandler = new MainHandler(); asyncQiupu = new AsyncQiupu(ConfigurationContext.getInstance(), null, null); QiupuHelper.registerUserListener(getClass().getName(), this); width = this.getResources().getDisplayMetrics().widthPixels; if (mCallBackListener != null) { mUser = mCallBackListener.getUserInfo(); } if (mUser == null) { mUser = new QiupuUser(); } }