fix deprecated
This commit is contained in:
@ -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));
|
||||
|
||||
Reference in New Issue
Block a user