Home > Software design >  Type parameter 'OnDownloadListener' cannot be instantiated directly
Type parameter 'OnDownloadListener' cannot be instantiated directly

Time:01-10

enter image description here

enter image description here ,

i can't solve this problem from a week ago, please help

hope to get the solution please help, please

CodePudding user response:

Is it the bracket in-> prDownloader.start(OnDownloadListenner()) ?

CodePudding user response:

I have used PRDownloader in one of my projects, It is a good dependency for downloading files by entering urls in it. Can you provide proper details of the error to understand the exact issue. But i would suggest you should stick with the native downloader (Download Manager) which is provided by google.

Also can you explain a bit more in detail that what are you trying to achieve.

  • Related