title: How to populate a ListView with an ArrayAdapter
body: <p>I am trying to populate my activity_juice_menu.xml with an arraylist. I am having trouble and keep getting an error message that says "no suitable method for find view by ID"</p>
  
  <p>I think i might be missing a getContent(); somehwere but dont know where</p>
  
  <pre><code>package com.example.vitoriano_vaz.easybayvapes;
  
  import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  import android.widget.ArrayAdapter;
  import android.widget.ListView;
  
  public class juiceMenu extends AppCompatActivity {
  
  
      private static String VALUE = "myValue";
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_juice_menu);
  
          ArrayAdapter juiceMenu = new ArrayAdapter&lt;String&gt;(this, android.R.layout.activity_list_item);
  
          ListView listView = (ListView) findViewById(this, R.layout.activity_juice_menu);
          listView.setAdapter(juiceMenu);
  
  
          juiceMenu.add("#1 Blueberry Bombshell");
          juiceMenu.add("#2 Richie Rich");
          juiceMenu.add("#3 Chiquita");
          juiceMenu.add("#4 Afternoon Delight");
          juiceMenu.add("#5 Poppin Otters");
          juiceMenu.add("#6 Viva La Sangria");
          juiceMenu.add("#7 Okole Maluna");
          juiceMenu.add("#8 Carmen Miranda");
          juiceMenu.add("#9 Pomalade");
          juiceMenu.add("#10 Izual");
          juiceMenu.add("#11 Butter Stotch ");
          juiceMenu.add("#12 Blue Bulls");
          juiceMenu.add("#13 Grape Ape");
          juiceMenu.add("#14 Bruce Juice");
          juiceMenu.add("#15 Doc Holiday");
          juiceMenu.add("#16 Peachy Keen");
          juiceMenu.add("#17 Hula");
          juiceMenu.add("#18 New York");
          juiceMenu.add("#19 Al Gore");
          juiceMenu.add("#20 Lux Charms");
          juiceMenu.add("#21 Sailor jack");
          juiceMenu.add("#22 Get Him to the Greek");
          juiceMenu.add("#23 Key We Lie Chi");
          juiceMenu.add("#24 Spring Fling");
          juiceMenu.add("#25 Gumby");
          juiceMenu.add("#26 Chai-Milk");
          juiceMenu.add("#27 Mr. Bean");
          juiceMenu.add("#28 50 Shades of Orange");
          juiceMenu.add("#29 Blue Waffles");
          juiceMenu.add("#30 Enigma");
          juiceMenu.add("#31 Mr. Freeze");
          //juiceMenu.add("#32 New Flavor"); need to update to get newest flavor
    }
  }
  </code></pre>
  
  <p><strong>Here is the xml i want to populate</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context="com.example.vitoriano_vaz.easybayvapes.juiceMenu"&gt;
  
      &lt;ListView
          android:id="@+id/activityJuiceMenu"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          &gt;
  
      &lt;/ListView&gt;
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p><strong>AndroidManifest</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.vitoriano_vaz.easybayvapes"&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name=".MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name=".juiceMenu"&gt;&lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest
  </code></pre>
  
  <p><strong>MainActivity</strong></p>
  
  <pre><code>package com.example.vitoriano_vaz.easybayvapes;
  
  import android.content.Intent;
  import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  import android.util.Log;
  import android.view.View;
  
  
  
  
  public class MainActivity extends AppCompatActivity {
  
      public void sendMessage(View view){
          Intent intent = new Intent(this, juiceMenu.class);
          startActivity(intent);
      }
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
      public void startJuiceMenu(View view) {
          Log.d("MyApp", "button clicked");
  
  
      }
  }
  </code></pre>