|
@@ -1,13 +1,17 @@
|
|
|
package com.sheep.gamegroup.view.activity;
|
|
package com.sheep.gamegroup.view.activity;
|
|
|
|
|
|
|
|
import android.app.Activity;
|
|
import android.app.Activity;
|
|
|
|
|
+import android.content.Intent;
|
|
|
import android.support.design.widget.TabLayout;
|
|
import android.support.design.widget.TabLayout;
|
|
|
import android.support.v4.view.ViewPager;
|
|
import android.support.v4.view.ViewPager;
|
|
|
|
|
+import android.view.View;
|
|
|
|
|
|
|
|
|
|
+import com.kfzs.duanduan.ActDownloadMgr;
|
|
|
|
|
+import com.sheep.gamegroup.absBase.BaseActivity;
|
|
|
|
|
+import com.sheep.gamegroup.util.UMConfigUtils;
|
|
|
import com.sheep.gamegroup.view.adapter.AdpTryMakemoney;
|
|
import com.sheep.gamegroup.view.adapter.AdpTryMakemoney;
|
|
|
import com.sheep.gamegroup.view.fragment.FgtTryMakeMoney;
|
|
import com.sheep.gamegroup.view.fragment.FgtTryMakeMoney;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
-import com.sheep.gamegroup.absBase.BaseActivity;
|
|
|
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
|
|
import butterknife.BindView;
|
|
import butterknife.BindView;
|
|
@@ -36,8 +40,14 @@ public class TryMakeMoneyact extends BaseActivity {
|
|
|
activity = this;
|
|
activity = this;
|
|
|
TitleBarUtils
|
|
TitleBarUtils
|
|
|
.getInstance()
|
|
.getInstance()
|
|
|
- .setTitle(activity, "试玩赚钱")
|
|
|
|
|
- .setTitleFinish(activity);
|
|
|
|
|
|
|
+ .setTitle(activity, "试玩赚钱").setTitleFinish(activity)
|
|
|
|
|
+ .setRightImgBotton(activity, R.drawable.index_download, new View.OnClickListener() {
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public void onClick(View view) {
|
|
|
|
|
+ startActivity(new Intent(TryMakeMoneyact.this, ActDownloadMgr.class));
|
|
|
|
|
+ UMConfigUtils.onEvent(UMConfigUtils.Event.GAME_DOWNLOAD_MANAGER);
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
|
|
|
mAdapter = new AdpTryMakemoney(getSupportFragmentManager(), this);
|
|
mAdapter = new AdpTryMakemoney(getSupportFragmentManager(), this);
|
|
|
mAdapter.add(FgtTryMakeMoney.newInstance(0), titles[0]);
|
|
mAdapter.add(FgtTryMakeMoney.newInstance(0), titles[0]);
|