Hello fellow developers,
I'm currently facing an issue in my mobile application project where an empty list widget, defined either as an image or a custom component, is not displaying within a ListView or GridView. The ListView/GridView is populated with data fetched from an SQL query. Despite the query returning an empty result set, the empty list widget fails to appear, leaving the user unaware of the absence of data.
Could you please provide insights into potential causes of this issue and suggestions for resolving it? Any advice on correctly implementing the display of an empty list widget when no data is returned from the SQL query would be greatly appreciated.
Thank you for your assistance!