B4A Class Download manager

Hi
I try simplification InternetDownloadManager in my class.
In my class,i use chaining method and other
Test it and Enjoy!

B4X:
Private down As FileDownloadManager
down.Initialize(Me,"test","url")
down.SetDescription("hoooooooo").SetHeader("aa","aa").SetOutputFilename(File.DirRootExternal,"a.rar").SetShowUI(True).SetTitle("thanks").Download

Sub test_Complete(Success As Boolean)
    Log(Success)
End Sub
 

Attachments

  • FileDownloadManager.bas
    4.9 KB · Views: 243
Top