The Preinitialization creates a window in advance.
If you call the 'Show' before creating the adaptor, the application cannot know the app resource id.
The show must be called after the adaptor is initialized.
Change-Id: I37f81df09642ab19d1f04995236b01f6e5d225c4
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
SetClass( name, className );
- mWindowSurface->Map();
-
mOrientation = Orientation::New( this );
// Get OrientationMode
{
mEventHandler = EventHandlerPtr(new EventHandler( mWindowSurface->GetWindowBase(), *mAdaptor ) );
mEventHandler->AddObserver( *this );
+
+ // If you call the 'Show' before creating the adaptor, the application cannot know the app resource id.
+ // The show must be called after the adaptor is initialized.
+ Show();
}
void Window::OnSurfaceSet( Dali::RenderSurfaceInterface* surface )