카테고리 없음

[기계적 인조 인간] 대화 상자에서 탭을 전환 할 때 ClassCastException 발생

행복을전해요 2021. 2. 25. 01:13

정보를 위해 alertdialog 내에서 탭을 변경하는 다른 방법으로 시도해 보셨습니까? :) 예 :

        TabHost tabHost =  (TabHost) findViewById(android.R.id.YOURTABHOST);
      tabHost.setCurrentTab(0); 
      


출처
https://stackoverflow.com/questions/22080096