mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Don't pass Activity into WelcomePagerAdapter.
This commit is contained in:
parent
dea43c04b9
commit
de1a3144cc
2 changed files with 6 additions and 18 deletions
|
|
@ -28,8 +28,7 @@ public class WelcomeActivity extends BaseActivity {
|
|||
}
|
||||
|
||||
private void setUpAdapter() {
|
||||
WelcomePagerAdapter adapter = new WelcomePagerAdapter(this);
|
||||
pager.setAdapter(adapter);
|
||||
pager.setAdapter(new WelcomePagerAdapter());
|
||||
indicator.setViewPager(pager);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue