2 Replies Latest reply on Jun 27, 2012 12:23 PM by Alexey Tikhvinsky

    Android SDK simulator not showing contact first names in list

      Hi, I'm running the PIM Contacts tutorial in the Android virtual device simulator.

      But after I create a contact and go back to the list of contacts (Person/index.erb file), no names show up.

      All I see are the links to the contacts, but the buttons are empty (see attached photo)

       

      Here is my code in the index.erb file:

       

        <div data-role="content">
          <ul data-role="listview">
            <% @people.each do |person| %>
            
                <li>
                  <a href="<%= url_for :action => :show, :id => person[1]['id'] %>">
                    <%= person[1]['first_name'] %>
                  </a>
                </li>
            
            <% end %>
          </ul>
        </div>
      
      

       

      Not sure what is going wrong here.

      I've been working on this for 2 straight days now, but no progress.

      Any help would be appreciated!

       

      Thanks,

      Ariana