I have an android question: I ve successfully created a countdown kitchen timer activity, however my goal is to have an activity that has 3 timers on it that all work independently. I created a separate layout just for the timer itself and moved the timer code into a class and I ve used layoutinflater to create the views and then added them into the linear layout for the activity. I get the layouts fine, however there s no functionality. There doesn t seem to be anything that ties the class code to the activity.
我如何对待这一点? 是否有任何人向我提出某种工作榜样?
页: 1