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
|
@ -184,6 +184,8 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
|
|||
.getSelectedRoute();
|
||||
mListView.setAdapter(mPlaylistAdapter);
|
||||
mControls.setVisibility(View.VISIBLE);
|
||||
TextView emptyView = (TextView) mListView.getEmptyView();
|
||||
emptyView.setText(R.string.playlist_empty);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue