android kill specific thread on action bar event

后端 未结 2 768
北海茫月
北海茫月 2020-12-20 21:11

I want to kill an specific thread but can\'t figure out a way of make it work. I include all info next, even if it does not seem important:

I use action bar sherloc

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-20 21:36

    Option 2 from rock_win is the way to go, you can see why here with some code attached:

    http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html

提交回复
热议问题