lv_subject_add_observer_with_target() function
Add an observer to a subject and also save a target.
Arguments
subject
pointer to the subject
observer_cb
callback to call
target
pointer to any data
user_data
optional user data
Return value
pointer to the created observer