If I want to use a DialogPreference to show a pop-up dialog, for
example, for a license agreement, I have to derive from
DialogPreference:

public class LicensePreference extends DialogPreference {

    public LicensePreference(Context context, AttributeSet attrs)
{
        super(context, attrs);
    }

    public LicensePreference(Context context, AttributeSet attrs, int
defStyle)     {
        super(context, attrs, defStyle);
    }
}


This seems unneccessary and silly, what was the reasoning behind
making DialogPrefernce abstract?

-- 
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