tb = (ToggleButton)findViewById(R.id.toggleButton); 報錯是Inconvertible types; cannot cast 'android.view.View' to 'ToggleButton’ 怎么處理?
2016-12-26
講真,老師有些地方講的確實略含糊,但整體思路挺清晰,需要得到肯定。目前學這個無壓力,之前先看了評論,差點就不想學了,不知道那些人什么心思。
2016-12-25