title: ClassCastException in Listview
body: <p>Following code generates exception as:</p>
  
  <pre><code>java.lang.ClassCastException: java.lang.Integer cannot be cast to vro.nagainfo.vromain.model.VROUser.
  </code></pre>
  
  <p>listUsers is a custom listview and VROUser is a class</p>
  
  <pre><code>listUsers.setOnItemClickListener(new OnItemClickListener() {
  
              @Override
              public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                                      int position, long id) {
                  VROUser user = (VROUser) listUsers.getItemAtPosition(position);
                  Intent intent = new Intent(getActivity(), ProfileViewActivity.class);
                  intent.putExtra("userId", user.getUserID());
                  getActivity().startActivity(intent);
  
              }
          });
  </code></pre>
  
  <p>How to fix this?</p>