안드로이드 개발 질문/답변
(글 수 45,052)
다음 그림에서 getStateCount()란 메소드를 를 찾아보고 싶은데 찾을수가 없네요
다음 API에도 저런 메소드는 없는데요.
상속받은곳 찾아봐도 안보이고...
다음 API에도 저런 메소드는 없는데요.
상속받은곳 찾아봐도 안보이고...
2010.08.19 17:50:54
/**
* Gets the number of states contained in this drawable.
*
* @return The number of states contained in this drawable.
* @hide pending API council
* @see #getStateSet(int)
* @see #getStateDrawable(int)
*/
public int getStateCount() {
return mStateListState.getChildCount();
}
@hide 가 붙어 있으면 API로는 제공되지 않습니다. 그래서 API 문서에 나오지 않습니다.
더불어 시스템이 아닌 일반 어플리케이션에서는 사용할 수 없습니다.
http://www.kiwidoc.com/java/l/x/android/android/5/p/android.graphics.drawable/c/StateListDrawable