for consistency, createDialog -> onCreateDialog

This commit is contained in:
Eric House 2014-04-27 13:17:48 -07:00
parent 716109e979
commit f386cd5c1b
8 changed files with 12 additions and 12 deletions

View file

@ -39,7 +39,7 @@ public class BoardActivity extends Activity {
{
Dialog dialog = super.onCreateDialog( id );
if ( null == dialog ) {
dialog = m_dlgt.createDialog( id );
dialog = m_dlgt.onCreateDialog( id );
}
return dialog;
} // onCreateDialog

View file

@ -236,9 +236,9 @@ public class BoardDelegate extends DelegateBase
}
}
protected Dialog createDialog( int id )
protected Dialog onCreateDialog( int id )
{
Dialog dialog = super.createDialog( id );
Dialog dialog = super.onCreateDialog( id );
if ( null == dialog ) {
DialogInterface.OnClickListener lstnr;
AlertDialog.Builder ab = makeAlertBuilder();

View file

@ -122,7 +122,7 @@ public class DelegateBase implements DlgDelegate.DlgClickNotify,
m_delegate.showDialog( dlgID );
}
protected Dialog createDialog( int id )
protected Dialog onCreateDialog( int id )
{
return m_delegate.createDialog( id );
}

View file

@ -87,7 +87,7 @@ public class DictsActivity extends ExpandableListActivity {
{
Dialog dialog = super.onCreateDialog( id );
if ( null == dialog ) {
dialog = m_dlgt.createDialog( id );
dialog = m_dlgt.onCreateDialog( id );
}
return dialog;
} // onCreateDialog

View file

@ -234,7 +234,7 @@ public class DictsDelegate extends DelegateBase
m_activity = activity;
}
protected Dialog createDialog( int id )
protected Dialog onCreateDialog( int id )
{
OnClickListener lstnr, lstnr2;
Dialog dialog;
@ -341,7 +341,7 @@ public class DictsDelegate extends DelegateBase
break;
default:
dialog = super.createDialog( id );
dialog = super.onCreateDialog( id );
doRemove = false;
break;
}
@ -351,7 +351,7 @@ public class DictsDelegate extends DelegateBase
}
return dialog;
} // createDialog
} // onCreateDialog
protected void prepareDialog( int id, Dialog dialog )
{

View file

@ -48,7 +48,7 @@ public class GamesListActivity extends ListActivity {
{
Dialog dialog = super.onCreateDialog( id );
if ( null == dialog && null != m_dlgt ) {
dialog = m_dlgt.createDialog( id );
dialog = m_dlgt.onCreateDialog( id );
}
return dialog;
} // onCreateDialog

View file

@ -127,7 +127,7 @@ public class GamesListDelegate extends DelegateBase
m_activity = activity;
}
protected Dialog createDialog( int id )
protected Dialog onCreateDialog( int id )
{
Dialog dialog = null;
DialogInterface.OnClickListener lstnr;
@ -331,7 +331,7 @@ public class GamesListDelegate extends DelegateBase
break;
default:
dialog = super.createDialog( id );
dialog = super.onCreateDialog( id );
break;
}
return dialog;

View file

@ -75,7 +75,7 @@ public class StudyListActivity extends ListActivity {
@Override
protected Dialog onCreateDialog( int id )
{
Dialog dialog = m_dlgt.createDialog( id );
Dialog dialog = m_dlgt.onCreateDialog( id );
if ( null == dialog ) {
dialog = super.onCreateDialog( id );
}