make compatible with encosing urlidhandler commit

This commit is contained in:
Christian Schabesberger 2018-05-08 21:05:47 +02:00
parent b1731ebd49
commit 0733ae2404
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ dependencies {
exclude module: 'support-annotations'
}
implementation 'com.github.TeamNewPipe:NewPipeExtractor:bf1c771'
implementation 'com.github.TeamNewPipe:NewPipeExtractor:08f0247d7344'
testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:1.10.19'

View File

@ -77,7 +77,7 @@ public class KioskFragment extends BaseListInfoFragment<KioskInfo> {
UrlIdHandler kioskTypeUrlIdHandler = service.getKioskList()
.getUrlIdHandlerByType(kioskId);
instance.setInitialData(serviceId,
kioskTypeUrlIdHandler.getUrl(kioskId),
kioskTypeUrlIdHandler.setId(kioskId).getUrl(),
kioskId);
instance.kioskId = kioskId;
return instance;