title: How can i open fragment from RecyclerView adapter?
body: <p>In my application i want open <code>fragment</code> with <code>adapter</code>.<br>
  I write below codes for <strong>button</strong> in <code>RecyclerView</code> <code>adapter</code>.<br>
  <strong>Fragment codes:</strong></p>
  
  <pre><code>public class SelectAddressFragment extends BaseFragment implements SelectAddressInterface {
  
      @BindView(R.id.selectAddressFrag_progressBar)
      ProgressBar selectAddressFrag_progressBar;
      @BindView(R.id.selectAddressFrag_list)
      RecyclerView selectAddressFrag_list;
      private PrefsUtils prefsUtils;
      private String phoneNumber;
      private APIs apIs;
      private List&lt;Re&gt; model = new ArrayList&lt;&gt;();
      private LinearLayoutManager linearLayoutManager;
      private RelativeLayout changeAddressContent, newAddressContent;
      private SelectAddressAdapter adapter;
      private String sendAddressID, sendName, sendState, sendCity, sendAddress, sendPostalCode, sendPhone, sendCellPhone;
  
      public SelectAddressFragment() {
          // Required empty public constructor
      }
  
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
                               Bundle savedInstanceState) {
          View v = inflater.inflate(R.layout.fragment_address, container, false);
  
          ButterKnife.bind(this, v);
          apIs = ApiClient.getClient().create(APIs.class);
          linearLayoutManager = new LinearLayoutManager(getActivity());
          prefsUtils = new PrefsUtils(getActivity());
          if (prefsUtils.isExist(PrefsKeys.PHONE_NUMBER.name())) {
              phoneNumber = prefsUtils.getFromShared(PrefsKeys.PHONE_NUMBER.name());
          } else {
              phoneNumber = "";
          }
          changeAddressContent = getActivity().findViewById(R.id.changeAddressContent);
          newAddressContent = getActivity().findViewById(R.id.newAddressContent);
          adapter = new SelectAddressAdapter(getActivity(), model, this, getFragmentManager());
  
          getListAddressData();
          initRecyclerView(selectAddressFrag_list, adapter);
  
          return v;
      }
  </code></pre>
  
  <p><strong>I write above codes, but when click on button not open fragment!</strong></p>
  
  <p>How can i fix it?</p>