안녕하세요.
  protected void onListItemClick(ListView l, View v, int position, long id) {
     super.onListItemClick(l, v, position, id);
      Intent intent = new  Intent(ListActivity3.this, test.class);
      startActivity(intent);
     //String s ="Select Item = " + adapter.getItem(position);
     //Toast.makeText(ListActivity3.this, s, Toast.LENGTH_SHORT).show();
    }

 

네 위처럼,, 리스트 항목을 선택할 경우, 그에 맞게 intent를 통해 액티비티를 변환하고 싶은데요..

 

어떻게 넘겨야 할지 모르겠습니다. ㅠㅠ

 

위에 처럼 하면,, 그냥 항목 상관없이 리스트 어느 항목이든 test.class로 넘어가는데요..

 

항목에 따라 다른 activity를 보이고 싶을땐 어떻게 해야하나요??

 

onitemclicklistener를 걸어서 position별 분기해야 하는데 어떻게 해야할지 방법을 잘 모르겠습니다.

 

조언 부탁드려요.~