Hi,
A question in Android adapter has confused me for a long time. I have
a code spinet like below

 public View getGroupView(int groupPosition, boolean isExpanded,
                View convertView, ViewGroup parent) {
            View sv = super.getGroupView(groupPosition, isExpanded,
                    convertView, parent);

V.S

 public View getGroupView(int groupPosition, boolean isExpanded,
                View convertView, ViewGroup parent) {
     if(ConvertView == null) {
            LayoutInflater inflater = (LayoutInflater)
getSystemService(Context.LAYOUT_INFLATER_SERVICE);
            sv = inflater.inflate(R.layout.labelrowgroup, parent,
false);
    }

Does anyone know the difference between them?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to