title: How to display data in ( materialBetterSpinner ) different from data included in source
body: <p>I Use (materialBetterSpinner) in my app to select the data that I will save in the database ..
  Now I have two data in materialBetterSpinner to choose from it. The problem now I store  number in materialBetterSpinner as (String[] SPINNER_DATA = {"1", "0"};) because I need to save a number in my databases but users now also see a number .. I don't  want users see numbers.. I need make  users see and select words .. but in my code that word Equal a number.</p>
  
  <p>For example now I have this (String[] SPINNER_DATA = {"1", "0"};) but I need users see this like that (String[] SPINNER_DATA = {"test1", "test2"};)
   so if user select  test1  he actually chose the number 1 like that.</p>
  
  <p>What user see now ..</p>
  
  <p><a href="https://i.stack.imgur.com/lK59l.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>what I want user see ..</p>
  
  <p><a href="https://i.stack.imgur.com/RmyaW.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>If anyone know the solution help me ..</p>
  
  <p>My code ..</p>
  
  <pre><code>String[] SPINNER_DATA = {"1", "0"};
  MaterialBetterSpinner materialBetterSpinner;
  
  </code></pre>
  
  <pre><code>  materialBetterSpinner = (MaterialBetterSpinner) findViewById(R.id.material_spinner1);
          ArrayAdapter&lt;String&gt; adaptermatr = new ArrayAdapter&lt;String&gt;(AddNewTopic.this, android.R.layout.simple_dropdown_item_1line, SPINNER_DATA);
          materialBetterSpinner.setAdapter(adaptermatr);
  
  </code></pre>
  
  <pre><code>
      private void upload() {
  
          StringRequest stringRequest = new StringRequest(Request.Method.POST,url,
                  new Response.Listener&lt;String&gt;() {
                      @Override
                      public void onResponse(String response) {
                          try {
                              JSONObject jsonObject = new JSONObject(response);
                              String Response = jsonObject.getString("response");
  
  
  
  
                          } catch (JSONException e) {
                              e.printStackTrace();
                          }
  
                      }
                  }, new Response.ErrorListener() {
              @Override
              public void onErrorResponse(VolleyError error) {
  
              }
          }) {
              @Override
              protected Map&lt;String, String&gt; getParams() throws AuthFailureError {
                  Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
  
  
                  params.put("size", materialBetterSpinner.getEditableText().toString().trim());
  
  
  
                  return params;
              }
          };
          RequestQueue requestQueue = (RequestQueue) Volley.newRequestQueue(AddNewTopic.this);
          requestQueue.add(stringRequest);
  
  </code></pre>