Im working on creating app to read lyrics from textfiles. Is there any way to minimize this code because the switch case can reach hundreds?
    int itemPosition=position;
    itemName=song[position];
    Intent openViewLyric=new Intent(this, ViewLyric.class);
    switch(itemPosition)
    {
        case 0:
            openViewLyric.putExtra("song", itemName);
            openViewLyric.putExtra("resid", R.raw.above_all);
            startActivity(openViewLyric);
            break;
        case 1:
            openViewLyric.putExtra("song", itemName);
            openViewLyric.putExtra("resid", R.raw.age_to_age);
            startActivity(openViewLyric);
            break;
        case 2:
            openViewLyric.putExtra("song", itemName);
            openViewLyric.putExtra("resid", R.raw.as_the_deer);
            startActivity(openViewLyric);
            break;
 
     
     
     
     
    