SupportLeanbackDemo: support delay loading page fragment data
Matching ag/989598 to notifyDataReady() when page fragment has loaded its data. Also fixed a bug using the wrong FragmentManager to open GuidedStepFragment. Bug 28471536 Change-Id: I4ce2108f0b587773ac29e8fd3b134e700121c81c
This commit is contained in:
@@ -60,6 +60,7 @@ for line in file:
|
||||
line = line.replace('BrowseFragment', 'BrowseSupportFragment')
|
||||
line = line.replace('GuidedStepFragment', 'GuidedStepSupportFragment')
|
||||
line = line.replace('GuidedStepActivity', 'GuidedStepSupportActivity')
|
||||
line = line.replace('getActivity().getFragmentManager()', 'getActivity().getSupportFragmentManager()')
|
||||
line = line.replace('BrowseActivity', 'BrowseSupportActivity')
|
||||
line = line.replace('DetailsActivity', 'DetailsSupportActivity')
|
||||
line = line.replace('SearchActivity', 'SearchSupportActivity')
|
||||
|
||||
Reference in New Issue
Block a user