Is there a function in Android analogous to “int main” in C/C++ which contains the program's main loop?

前端 未结 4 1459
日久生厌
日久生厌 2020-12-08 23:04

Normally in a C or C++ program there\'s a main loop/function, usually int main (). Is there a similar function that I can use in android Java development?

4条回答
  •  既然无缘
    2020-12-09 00:02

    Maybe it's possible by creating a timer and execute custom functions at every tick, reset the timer when it's at a specific time

提交回复
热议问题