Tag: audio

How do i reference a songs index position when calling onClick

问题内容: This is what I want to achieve but in a single text view not the whole list listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> adapterView, View view, int position, long l) { // Release the media player if it currently exists because we are about to // play a different sound file releaseMediaPlayer(); //