Android start activity when pressing widget ListView item

后端 未结 2 1311
-上瘾入骨i
-上瘾入骨i 2020-12-03 14:30

I\'m working on a ListView widget where I want the user to be able to launch a activity when the ListView is clicked. I haven\'t been able to find any sort of tutorial on th

2条回答
  •  生来不讨喜
    2020-12-03 15:10

    To launch any Activity you create an Intent and then call startActivity on that intent. Check Intent and startActivity and I am sure you will able to do it yourself.

提交回复
热议问题