| | |
| | | import android.content.res.Resources; |
| | | import android.os.Bundle; |
| | | |
| | | import com.tejia.lijin.app.ui.dialog.ShapeLoadingDialog; |
| | | import com.umeng.analytics.MobclickAgent; |
| | | import com.wpc.library.util.common.StringUtils; |
| | | import com.tejia.lijin.app.util.clipboard.ClipboardUtil; |
| | |
| | | this.showRecommend = recommend; |
| | | } |
| | | |
| | | protected ShapeLoadingDialog loadingDialog = null; |
| | | |
| | | @Override |
| | | protected void onCreate(Bundle savedInstanceState) { |
| | | super.onCreate(savedInstanceState); |
| | | loadingDialog = new ShapeLoadingDialog.Builder(this).build(); |
| | | } |
| | | |
| | | @Override |
| | |
| | | @Override |
| | | protected void onResume() { |
| | | super.onResume(); |
| | | MobclickAgent.onResume(this); |
| | | if (!showRecommend) |
| | | return; |
| | | final SharedPreferences sp = getSharedPreferences("user", MODE_PRIVATE); |
| | |
| | | @Override |
| | | protected void onPause() { |
| | | super.onPause(); |
| | | MobclickAgent.onPause(this); |
| | | } |
| | | |
| | | } |