private void updateForNewPosition(){
  if (!currentPosition.equals("Top 100 Recruits")) {
    String[] splitty=currentPosition.split(" ");
    setPlayerList(splitty[0]);
    setPlayerInfoMap(splitty[0]);
    expListAdapter.notifyDataSetChanged();
  }
 else {
    players=availAll;
    playersInfo=new LinkedHashMap<String,List<String>>();
    for (    String p : players) {
      ArrayList<String> pInfoList=new ArrayList<String>();
      pInfoList.add(getPlayerDetails(p,p.split(",")[0]));
      playersInfo.put(p.substring(0,p.length() - 2),pInfoList);
    }
    expListAdapter.notifyDataSetChanged();
  }
}

private void updateForNewPosition ( ) { if ( ! currentPosition . equals ( "Top 100 Recruits" ) ) { String [ ] splitty = currentPosition . split ( " " ) ; setPlayerList ( splitty [ 0 ] ) ; setPlayerInfoMap ( splitty [ 0 ] ) ; expListAdapter . notifyDataSetChanged ( ) ; } else { players = availAll ; playersInfo = new LinkedHashMap < String , List < String > > ( ) ; for ( String p : players ) { ArrayList < String > pInfoList = new ArrayList < String > ( ) ; pInfoList . add ( getPlayerDetails ( p , p . split ( "," ) [ 0 ] ) ) ; playersInfo . put ( p . substring ( 0 , p . length ( ) - 2 ) , pInfoList ) ; } expListAdapter . notifyDataSetChanged ( ) ; } }
called whenever new position is selected , updates all the components
