title: ArrayAdapter - Get given resource id for list items
body: <p>On extending an ArrayAdapter, i can select a constructor with resource as parameter:</p>
  
  <pre><code>ArrayAdapter(Context context, int resource, T[] objects) 
  </code></pre>
  
  <p>This resource can be used as a Layout for ListView items. But how do I get access to the given resource? I can´t find a Method like getResource or getItemLayoutResource. All I am doing for now is this.resource = resource in my constructor so I can use it later. But why should I do this if i can give the resource to the BaseAdapter over: </p>
  
  <pre><code>super(context, resource, objects);
  </code></pre>
  
  <p>Why do I need this: I would like to use it in my LayoutInflator on getView.
  Maybe I understand this Parameter wrong. What does it exactly do on super?</p>