title: i make a code to download a pdf but i do not know haw i can display it after download
body: <p>I am a new in kotlin and I make a code to download a pdf but i do not know haw i can display it after download so i need a code to display it. this the code to download:</p>
  <pre><code>class MainActivity : AppCompatActivity() {
  
      var mydownloadid :Long = 0
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
          setContentView(R.layout.activity_main)
          val be1 = findViewById&lt;ImageButton&gt;(R.id.be)
          val be = findViewById&lt;ImageButton&gt;(R.id.be)
          be1.setOnClickListener {
              val Intent = Intent(this.baseContext,menu::class.java)
              startActivity(Intent)
          }
  
          be.setOnClickListener {
              var request = DownloadManager.Request(Uri.parse(&quot;https://drive.google.com/uc?export=download&amp;id=13UzyQurtT29uKWDh8rW9IxHJ-Hu8vjKjqj80HhZF_pQ&quot;))
                  .setTitle(&quot;Download pdf&quot;)
                  .setDescription(&quot;downloading pdf&quot;)
                  .setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE)
                  .setAllowedOverMetered(true)
  
              var dm =getSystemService(Context.DOWNLOAD_SERVICE) as DownloadManager
              mydownloadid = dm.enqueue(request)
  
          }
  var br = object:BroadcastReceiver(){
      override fun onReceive(p0: Context?, p1: Intent?) {
          var id = p1?.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID,-1)
          if (id==mydownloadid)
              Toast.makeText(applicationContext,&quot;تم انتهاء التحميل&quot;,Toast.LENGTH_LONG).show()
  
      }
  
  }
  
  registerReceiver(br, IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE))
  
  
  
  
      }
  }
  </code></pre>