Code
The code block(s) should be between ```c
and ```
tags:
lv_obj_t *tv = lv_tileview_create(parent);
lv_obj_add_style(tv, &default_style, 0);
lv_obj_set_style_bg_opa(tv, LV_OPA_0, 0);
lv_obj_set_size(tv, LV_PCT(100), 300 * PLOTTING);
lv_obj_align_to(tv, Slogan_lable, LV_ALIGN_OUT_BOTTOM_MID, 0, 0);
lv_obj_clear_flag(tv,LV_ANIM_OFF);
lv_obj_set_scrollbar_mode(tv, LV_SCROLLBAR_MODE_OFF);
// lv_obj_set_style_bg_color(tv, lv_color_black(), 0);
/*Tile1: just a label*/
lv_obj_t *tile1 = lv_tileview_add_tile(tv, 0, 0, LV_DIR_RIGHT);
lv_obj_t *tile2 = lv_tileview_add_tile(tv, 1, 0, LV_DIR_HOR);
lv_obj_add_event_cb(tv, Home_tile_evevt_cb, LV_EVENT_VALUE_CHANGED, &tile_index);
//===================================================
lock_state(tile1);
//===================================================
function_switch(tile2);
//===================================================`
tags
When using the tielView component to implement page scrolling, the page back is slow. How to optimize and adjust it?
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.