
listener = (OnBalanceFragmentInteractionListener) context;
</BUG>
} else {
<BUG>throw new RuntimeException(context + " must implement OnBalanceFragmentInteractionListener");
</BUG>
}
}
@Override
public void onDetach() {

viewModel.destroy();
}
@Override
public void onAttach(Context context) {
super.onAttach(context);
if (context instanceof OnSendFragmentInteractionListener) {
listener = (OnSendFragmentInteractionListener) context;
} else {
throw new RuntimeException(context + " must implement OnSendFragmentInteractionListener");
}
}
@Override
public void onDetach() {
