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

@ -183,7 +183,9 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
mSelectedRoute = MediaRouter.getInstance(getActivity())
.getSelectedRoute();
mListView.setAdapter(mPlaylistAdapter);
mControls.setVisibility(View.VISIBLE);
mControls.setVisibility(View.VISIBLE);
TextView emptyView = (TextView) mListView.getEmptyView();
emptyView.setText(R.string.playlist_empty);
}
}
}