Fixed RouteFragment to show correct empty view when showing playlist on start.

This commit is contained in:
Felix Ableitner 2013-12-12 12:49:50 +01:00
parent 8bdbd40c7c
commit bb2d385460

View file

@ -184,6 +184,8 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
.getSelectedRoute(); .getSelectedRoute();
mListView.setAdapter(mPlaylistAdapter); mListView.setAdapter(mPlaylistAdapter);
mControls.setVisibility(View.VISIBLE); mControls.setVisibility(View.VISIBLE);
TextView emptyView = (TextView) mListView.getEmptyView();
emptyView.setText(R.string.playlist_empty);
} }
} }
} }