Книга: Beginning Android

Running in Place

Running in Place

Just as Handler supports post() and postDelayed() to add Runnable objects to the event queue, you can use those same methods on View. This slightly simplifies your code, in that you can then skip the Handler object. However, you lose a bit of flexibility, and the Handler has been around longer in the Android toolkit and may be more tested.


Генерация: 1.055. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз