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

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