<DownloadManager download 2 file instead of one> I...
# stackoverflow
u
DownloadManager download 2 file instead of one I want to use DownloadManager to download file from url in editText. But when I click download button, it will create 2 files with view.filename.text.toString() name in download directory and create other one in TTT directory in download folder with view.filename.text.toString() + "AFK" name. view.downloadBTN.setOnClickListener { _ -> downloadManager = activity?.getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager request =...