Problem with back button in VideoView

后端 未结 5 483
感动是毒
感动是毒 2021-01-05 08:03

I am having difficulty getting the back button to actually finish my activity when pressed. I am running a very simple videoview, using a progressdialog to show loading dial

5条回答
  •  有刺的猬
    2021-01-05 08:28

    finish() doesn't kill your activity, it just signals to Android that it doesn't need to run the Activity anymore.

    I remember solving this by putting "return" in proper places.

提交回复
热议问题