對於LayoutInflater的一些理解

獲取 大家都知道LayoutInflater的作用是將佈局填充到View中 用getLayoutInflater()方法或者getSystemService(LAYOUT_INFLATER_SERVICE)來獲取 調用LayoutInflater類下的from方法,接收context返回一個layoutInflater對象 接收三個參數的inflate()方法 重點來了,LayoutInflate
相關文章
相關標籤/搜索