mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
[Lint] Remove class variables to local
This commit is contained in:
parent
8f5be5a434
commit
83957bae06
10 changed files with 23 additions and 35 deletions
|
|
@ -10,7 +10,6 @@ import butterknife.ButterKnife;
|
|||
import fr.free.nrw.commons.theme.BaseActivity;
|
||||
|
||||
public class WelcomeActivity extends BaseActivity {
|
||||
private WelcomePagerAdapter adapter;
|
||||
|
||||
@BindView(R.id.welcomePager) ViewPager pager;
|
||||
@BindView(R.id.welcomePagerIndicator) CirclePageIndicator indicator;
|
||||
|
|
@ -29,7 +28,7 @@ public class WelcomeActivity extends BaseActivity {
|
|||
}
|
||||
|
||||
private void setUpAdapter() {
|
||||
adapter = new WelcomePagerAdapter(this);
|
||||
WelcomePagerAdapter adapter = new WelcomePagerAdapter(this);
|
||||
pager.setAdapter(adapter);
|
||||
indicator.setViewPager(pager);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue