2011年12月3日土曜日

Android inflater インフレータ

インフレータについてAndroid Developers → Reference でちょっと調べてみた。


inflaterの定義:
public class  Inflater  extends  Object

java.lang.Object
  java.util.zip.Inflater
This class decompresses data that was compressed using the DEFLATE algorithm
インフレータクラスは、圧縮されたデータを解凍する(膨らませる)。


-------


LayoutInflaterの定義:
public abstract class  LayoutInflater  extends Object
java.lang.Object
↳   android.view.LayoutInflater
This class is used to instantiate layout XML file into its corresponding View objects. 
XMLレイアウトファイルをViewオブジェクトとして具体化する。

public View inflate (int resource, ViewGroup root)

Inflate a new view hierarchy from the specified xml resource.

XMLからview木構造を作る(拡張する)。

0 件のコメント:

コメントを投稿