Updated on 2026-08-14
This commit is contained in:
parent
cc71c599f7
commit
0bc2d0a1d1
4 changed files with 102 additions and 102 deletions
|
|
@ -301,7 +301,6 @@ public class CardListAdapter extends RecyclerView.Adapter<CardListAdapter.CardVi
|
|||
holder.tvTypeBg.setBackgroundColor(ContextCompat.getColor(mContext, R.color.type_banknote));
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ public class MainFragment extends Fragment implements NfcAdapter.ReaderCallback,
|
|||
RecyclerView rvCards = result.findViewById(R.id.lvCards);
|
||||
|
||||
rvCards.setLayoutManager(new LinearLayoutManager(getContext()));
|
||||
mCardListAdapter = new CardListAdapter(getActivity().getLayoutInflater(), savedInstanceState, this);
|
||||
mCardListAdapter = new CardListAdapter(inflater, savedInstanceState, this);
|
||||
rvCards.setAdapter(mCardListAdapter);
|
||||
if (savedInstanceState != null && savedInstanceState.containsKey("slCardUIDs")) {
|
||||
slCardUIDs = savedInstanceState.getStringArrayList("slCardUIDs");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue