title: Titanium get current view on scrollableView and add an item
body: <p>I have a scrollableView with several views inside and I'd like to add item to some of these view if they meet a certain criteria, like if they have data attached or not. Also I'm using Alloy, here's my markup</p>
  
  <pre><code>&lt;ScrollableView id="scrollableView"&gt;
      &lt;View id="view" class='coolView'&gt;&lt;/View&gt;
      ...
  &lt;/ScrollableView&gt;
  </code></pre>
  
  <p>To know if there are data attached I check the <code>currentPage</code> attribute like so:</p>
  
  <pre><code>function updateCurrentView(e) {
      currentView = e.currentPage;
  }
  </code></pre>
  
  <p>But I have no idea how to add an item to the current View.</p>
  
  <p><strong>Edit</strong>: To add some clarification, I have a label which when clicked allow me to choose two currencies, when chosen these currency pairs are saved in the database and should be displayed instead of the label. So my guess was to check whether the current view has currency pair saved.</p>