title: Android Studio Cannot Resolve Method in List Adapter
body: <p>I created a custom List Adapter which extends from Base Adapter because I need to input two arrays into the list. The code is as follows:</p>
  
  <pre><code>public class OweListAdaptor extends BaseAdapter {
  String[] descriptionArray, valueArray;
  Context context;
  
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
      LayoutInflater inflater = LayoutInflater.from(context);
      View oweRow = inflater.inflate(R.layout.oweitem, parent, false);
  
      TextView description = (TextView) oweRow.findViewById(R.id.descText);
      TextView value = (TextView) oweRow.findViewById(R.id.valText);
      description.setText(descriptionArray[position]);
      value.setText(valueArray[position]);
  
      return oweRow;
  }
  
  public OweListAdaptor(String[] description, String[] value) {
      this.descriptionArray = description;
      this.valueArray = value;
  }
  
  public void updateValues(String[] newList){
      for (int i=0; i&lt; newList.length; i++){
          valueArray[i] = newList[i];
      }
      this.notifyDataSetChanged();
  }
  
  public void updateDescriptions(String[] newList){
      for (int i=0; i&lt; newList.length; i++){
          descriptionArray[i] = newList[i];
      }
      this.notifyDataSetChanged();
  }
  </code></pre>
  
  <p>The last two methods, updateValues and updateDescriptions, cannot be called from MainActivity. When I attempt to call them, Android Studio says it </p>
  
  <blockquote>
    <p>cannot resolve method 'updateValues(java.lang.String[])'</p>
  </blockquote>
  
  <p>To call it, I am simply using the following in MainActivity.</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  String[] descriptionList, valueList;
  OweDBManager DB;
  ListAdapter oweAdapter;
  
  public void updateLists(){
      descriptionList = DB.DBtoArray("desc");
      valueList = DB.DBtoArray("value");
      oweAdapter.updateValues(valueList);
  }
  </code></pre>
  
  <p>The DB Manager and List Adapter are initialized in onStart. Why am I getting this error?</p>