feat(fragment): deprecate lv_fragment (#9460)

This commit is contained in:
André Costa
2026-01-05 05:13:22 +01:00
committed by GitHub
parent f3b42adfea
commit 1eebf36790
3 changed files with 5 additions and 0 deletions
+4
View File
@@ -4,6 +4,10 @@
Fragment
========
.. warning::
This module is now deprecated and will be removed in an upcoming release.
Fragment is a concept copied from
`Android <https://developer.android.com/guide/fragments>`__.
View File
+1
View File
@@ -24,6 +24,7 @@ static void cb_delete_assertion(lv_event_t * event);
lv_fragment_t * lv_fragment_create(const lv_fragment_class_t * cls, void * args)
{
LV_LOG_WARN("lv_fragment is deprecated and will be removed in an upcoming release.");
LV_ASSERT_NULL(cls);
LV_ASSERT_NULL(cls->create_obj_cb);
LV_ASSERT(cls->instance_size >= sizeof(lv_fragment_t));