private void populateRecyclerList(){
  talkAdapter.setCycle(cycle);
  talkAdapter.setIncomingOutgoing(dataUsage);
  talkAdapter.setDividerHeader(new RecyclerDivider(resources.getString(R.string.add_to_plan_header),0));
  List<Offer> talkOffers=new ArrayList<>();
  for (  Offer offer : acceptedOffers) {
    if ((offer.getType()) == PlanConstants.TALK) {
      talkOffers.add(offer);
    }
  }
  talkAdapter.setCardOffers(talkOffers);
}

private void populateRecyclerList ( ) { talkAdapter . setCycle ( cycle ) ; talkAdapter . setIncomingOutgoing ( dataUsage ) ; talkAdapter . setDividerHeader ( new RecyclerDivider ( resources . getString ( R . string . add_to_plan_header ) , 0 ) ) ; List < Offer > talkOffers = new ArrayList < > ( ) ; for ( Offer offer : acceptedOffers ) { if ( ( offer . getType ( ) ) == PlanConstants . TALK ) { talkOffers . add ( offer ) ; } } talkAdapter . setCardOffers ( talkOffers ) ; }
populate the recycler view with the relevant data .
