Fixed RouteFragment to show correct empty view when showing playlist on start.
This commit is contained in:
parent
8bdbd40c7c
commit
bb2d385460
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue