Fix an issue
This commit is contained in:
parent
80c8e1a356
commit
30d344987c
|
@ -354,7 +354,9 @@ public class AllPlaylistsActivity extends AppCompatActivity {
|
|||
@Override
|
||||
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
||||
idChannel = channelId[position];
|
||||
selectedChannel = myChannels.get(position - 1);
|
||||
if( position > 0 ) {
|
||||
selectedChannel = myChannels.get(position - 1);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue