开发者

The activity does not response in android

开发者 https://www.devze.com 2023-03-13 05:17 出处:网络
My Android application has an activity with a simple ui which only has a seekbar. I implemented the onProgressChanged method. My problem is: I init an object and write a record into the database by ca

My Android application has an activity with a simple ui which only has a seekbar. I implemented the onProgressChanged method. My problem is: I init an object and write a record into the database by calling a private method named 'init()' in t开发者_如何学Che onCreate method of the Activity. But the Activity did not response, the seebar did not display. When i did not call 'init()' in the onCreate method, it is just ok, and the seebar display, what might be the reason?

0

精彩评论

暂无评论...
验证码 换一张
取 消