Sunday 15 August 2010

android - onBindDialogView not called - Why? -


I'm trying to apply a subclass of ListPreference and its constructor is ) BindDialogView is not on its override.

  Public MyListPreference (reference references, AttributeSet attrs) {super (references, attrs); // Tudo auto-generated creator stub log V (tag, "Creating MyListPreference."); } @ Override Protected Zero at BindDialogView (see View) {super.onBindDialogView (see); Logs. V (tag, called "on-dendialog wee"); }   

Why is this happening? What am I missing?

Update : I have put a log message and it is also called .

It is only said that no

Why? What are the conditions for applying this callback?

Your onCreateDialogView () / code> return? onBindDialogView () is called only when you return a non-blank custom view from there. Besides, onBindDialogView () is called only when you are actually Referrals show priority in:. Specifically, look at showDialog () method

you can return super implementation with your onCreateDialogView () , I suspect it is < Code> null .

No comments:

Post a Comment