private void listNull() { if (adapter.getCount() == 0) { findViewById(R.id.null_tip).setVisibility(View.VISIBLE); } else { findViewById(R.id.null_tip).setVisibility(View.GONE); } }
private void refreshList(List<RechargeHistoryItemEntity> topup) { adapter.updateList(topup); }