mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Made a pass through the code to introduce lambdas / method references in the places the Android Studio suggested.
This commit is contained in:
parent
3824f31ef9
commit
4796557fb7
25 changed files with 206 additions and 374 deletions
|
|
@ -27,12 +27,7 @@ public class WelcomeActivity extends BaseActivity {
|
|||
|
||||
pager.setAdapter(adapter);
|
||||
indicator.setViewPager(pager);
|
||||
adapter.setCallback(new WelcomePagerAdapter.Callback() {
|
||||
@Override
|
||||
public void onYesClicked() {
|
||||
finish();
|
||||
}
|
||||
});
|
||||
adapter.setCallback(this::finish);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue