fix deprecated

This commit is contained in:
CsHeng
2017-06-16 16:12:28 +08:00
parent b3d63c5698
commit 5e668d9e13
9 changed files with 57 additions and 60 deletions

View File

@ -19,7 +19,7 @@ import com.gh.common.util.EntranceUtils;
import com.gh.download.DownloadManager;
import com.gh.base.adapter.FragmentAdapter;
import com.gh.gamecenter.download.FileSendFragment;
import com.gh.gamecenter.download.GameDownLoadFragment;
import com.gh.gamecenter.download.GameDownloadFragment;
import com.gh.gamecenter.download.GameUpdateFragment;
import com.gh.gamecenter.eventbus.EBDownloadChanged;
import com.gh.gamecenter.eventbus.EBMiPush;
@ -149,7 +149,7 @@ public class DownloadManagerActivity extends BaseActivity implements OnClickList
downloadmanager_slide_line.setLayoutParams(lparams);
List<Fragment> list = new ArrayList<>();
list.add(new GameDownLoadFragment());
list.add(new GameDownloadFragment());
list.add(new GameUpdateFragment());
list.add(new FileSendFragment());
downloadmanager_viewPager.setAdapter(new FragmentAdapter(getSupportFragmentManager(), list));