dogger20011
dogger20011

Reputation: 255

Android - Start multiple timers on button press

So I have a button with a onClick method like this:

public void myClickHandler(View v){

    }

I have multiple checkboxes on one page, and when that button is pressed it will start a timer on all of the checked boxes. Also, most of the timers have different times. Have any ideas on how I can get this working? Thanks!

Upvotes: 0

Views: 77

Answers (1)

sunrise
sunrise

Reputation: 28

i think,you can use one timer,or just one thread.computing and send different broadcasts or the same broadcast with different args,handle and dispatch in the method onReceive;

Upvotes: 1

Related Questions