title: Recyclerview data to marker in Google Maps
body: <p><strong>SearchAdapter</strong></p>
  
  <pre><code>public class SearchAdapter extends RecyclerView.Adapter&lt;SearchAdapter.SearchViewHolder&gt; {
  
      Context context;
      ArrayList&lt;String&gt; studentNameList;
      ArrayList&lt;String&gt; studentMatrikList;
      ArrayList&lt;String&gt; studentPhoneList;
      ArrayList&lt;String&gt; studentAddressList;
      ArrayList&lt;String&gt; studentLatList;
      ArrayList&lt;String&gt; studentLngList;
  
      class SearchViewHolder extends RecyclerView.ViewHolder{
  
          TextView studentName, studentMatrik, studentPhone, studentAddress, studentLat, studentLng;
          CheckBox checkBox;
          Button buttonMap;
  
  
  
          public SearchViewHolder(View itemView) {
              super(itemView);
              studentName = (TextView) itemView.findViewById(R.id.studentName);
              studentMatrik = (TextView) itemView.findViewById(R.id.studentMatrik);
              studentPhone = (TextView) itemView.findViewById(R.id.studentPhone);
              studentAddress = (TextView) itemView.findViewById(R.id.studentAddress);
              studentLat = (TextView) itemView.findViewById(R.id.studentLat);
              studentLng = (TextView) itemView.findViewById(R.id.studentLng);
              checkBox = (CheckBox) itemView.findViewById(R.id.checkBox);
              buttonMap = (Button) itemView.findViewById(R.id.buttonMap);
              checkBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
                  @Override
                  public void onCheckedChanged(CompoundButton compoundButton, boolean isChecked) {
                      if (isChecked) {
                          Toast.makeText(SearchAdapter.this.context,
                                  "Selected student is " + studentName.getText(),Toast.LENGTH_LONG).show();
                      } else {
  
                      }
                  }
              });
          }
  
      }
  
      public SearchAdapter(Context context, ArrayList&lt;String&gt; studentNameList, ArrayList&lt;String&gt; studentMatrikList, ArrayList&lt;String&gt; studentPhoneList, ArrayList&lt;String&gt; studentAddressList, ArrayList&lt;String&gt; studentMailList, ArrayList&lt;String&gt; studentConList) {
          this.context = context;
          this.studentNameList = studentNameList;
          this.studentMatrikList = studentMatrikList;
          this.studentPhoneList = studentPhoneList;
          this.studentAddressList = studentAddressList;
          this.studentMailList = studentMailList;
          this.studentConList = studentConList;
  
      }
  
      @Override
      public SearchAdapter.SearchViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
          View view = LayoutInflater.from(context).inflate(R.layout.list_layout, parent, false);
          return new SearchAdapter.SearchViewHolder(view);
      }
  
      @Override
      public void onBindViewHolder(SearchViewHolder holder, int position) {
          holder.studentName.setText(studentNameList.get(position));
          holder.studentMatrik.setText(studentMatrikList.get(position));
          holder.studentPhone.setText(studentPhoneList.get(position));
          holder.studentAddress.setText(studentAddressList.get(position));
          holder.studentLat.setText(studentMailList.get(position));
          holder.studentLng.setText(studentConList.get(position));
          holder.buttonMap.setOnClickListener(new View.OnClickListener(){
              @Override
              public void onClick(View v) {
                  Intent intent = new Intent(context, MapsActivity.class);
                  context.startActivity(intent);
              }
          });
      }
  
      @Override
      public int getItemCount() {
  
          return studentNameList.size();
      }
  }
  </code></pre>
  
  <p>Textview Address Value:</p>
  
  <pre><code>studentAddress = (TextView) itemView.findViewById(R.id.studentAddress);
  </code></pre>
  
  <p>Textview Latitude Value:</p>
  
  <pre><code>studentLat = (TextView) itemView.findViewById(R.id.studentLat);
  </code></pre>
  
  <p>Textview Longitude Value</p>
  
  <pre><code>studentLng = (TextView) itemView.findViewById(R.id.studentLng);
  
  
  
   @Override
      public void onBindViewHolder(SearchViewHolder holder, int position) {
          holder.studentName.setText(studentNameList.get(position));
          holder.studentMatrik.setText(studentMatrikList.get(position));
          holder.studentPhone.setText(studentPhoneList.get(position));
          holder.studentAddress.setText(studentAddressList.get(position));
          holder.studentLat.setText(studentMailList.get(position));
          holder.studentLng.setText(studentConList.get(position));
          holder.buttonMap.setOnClickListener(new View.OnClickListener(){
              @Override
              public void onClick(View v) {
                  Intent intent = new Intent(context, MapsActivity.class);
                  context.startActivity(intent);
              }
          });
      }
  </code></pre>
  
  <p>Is it possible to link the buttonMap and show marker in Google Maps based on textview address or latitude and longitude? I ask this before but can't find solution...</p>