if (_gl_check_no_content_view(data)) {
return 0;
}
+ if (ad->tlinfo->view) {
+ _gl_ui_save_scroller_pos(ad->tlinfo->view);
+ }
+ Evas_Coord x = (Evas_Coord) evas_object_data_get(ad->tlinfo->view, "prev_scroller_x");
+ Evas_Coord y = (Evas_Coord) evas_object_data_get(ad->tlinfo->view, "prev_scroller_y");
+ Evas_Coord w = (Evas_Coord) evas_object_data_get(ad->tlinfo->view, "prev_scroller_w");
+ Evas_Coord h = (Evas_Coord) evas_object_data_get(ad->tlinfo->view, "prev_scroller_h");
+ gl_dbg("(%dx%d), (%dx%d)", x, y, w, h);
Evas_Object *view = __gl_timeline_create_list_view(ad->tlinfo, false);
if (view == NULL) {
gl_dbgE("Failed to create view!");
return -1;
}
+ if (w > 0 && h > 0) {
+ elm_scroller_region_show(view, x, y, w, h);
+ }
ad->tlinfo->view = view;
elm_object_part_content_set(ad->tlinfo->layout, "elm.swallow", view);