widget_instance_resize(mInstanceId.c_str(), mWidth, mHeight);
mResizeRequired = false;
}
-
+ break;
+ }
+ case WIDGET_INSTANCE_EVENT_RESUME:
+ {
// Call Resume/Pause for reloading
bool needPaused = IsOutOfScreen();
- if( mWindowVisible )
+ if( mWindowVisible && !needPaused)
{
- if( !needPaused)
- {
- ResumeWidgetInternally();
- }
+ ResumeWidgetInternally();
}
else
{
return;
}
- if( mWindowVisible )
+ if( mWindowVisible && !needPaused)
{
- if( !needPaused)
- {
- ResumeWidgetInternally();
- }
+ ResumeWidgetInternally();
}
else
{
void WidgetView::OnUpdateArea( Dali::PropertyNotification& source )
{
+ if(!mCreated)
+ {
+ DALI_LOG_INFO( gWidgetViewLogging, Debug::Verbose, "Do not pause/resume widget, because widget is not created \n");
+ return;
+ }
+
bool needPaused = IsOutOfScreen();
if( mPausedManually )
{