Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Create the adapter before adding it to the list (#2785)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Feb 14, 2020
1 parent 9f7a764 commit 33f6c4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public PopUpExceptionsOptionsView(Context aContext, WidgetManagerDelegate aWidge
}

private void initialize(Context aContext) {
updateUI();

// Preferred languages adapter
mAdapter = new PopUpAdapter(getContext(), mCallback);

// View Model
mViewModel = new PopUpsViewModel(((Application)getContext().getApplicationContext()));

updateUI();
}

@Override
Expand Down

0 comments on commit 33f6c4d

Please sign in to comment.