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 ); Dialog dialog = super.onCreateDialog( id );
if ( null == dialog ) { if ( null == dialog ) {
dialog = m_dlgt.createDialog( id ); dialog = m_dlgt.onCreateDialog( id );
} }
return dialog; return dialog;
} // onCreateDialog } // 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 ) { if ( null == dialog ) {
DialogInterface.OnClickListener lstnr; DialogInterface.OnClickListener lstnr;
AlertDialog.Builder ab = makeAlertBuilder(); AlertDialog.Builder ab = makeAlertBuilder();

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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