₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,149 members, 8,420,563 topics. Date: Friday, 05 June 2026 at 01:58 AM

Toggle theme

React Native Show Message For Empty Flatlist - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingReact Native Show Message For Empty Flatlist (872 Views)

1 Reply

React Native Show Message For Empty Flatlist by skptricks(op): 8:21am On Nov 12, 2018
Post Link : React Native Show Message for empty FlatList

This tutorial explains how to display empty message "No Data Available" in FlatList view in react native application, when there is not data present in FlatList data source object. Lets consider the scenarios where we have to load bulk data in FlatList view using server side rendering, in that case we need provide appropriate message to user for the request data and their corresponding response. Generally we are come across with below scenarios :
When data is available, then it will display the data in FlatList view using renderItem prop.
When data is not available, then it will display the error message "No Data Available" to user.

React Native Show Message for empty FlatList

[img]https://3.bp..com/-Fwkielx1ej0/W-kZoPUrI9I/AAAAAAAACIA/TsTTW4PNaqQ0UKB5vfBjadPKY2iOgUpMgCLcBGAs/s640/empty.png[/img]
1 Reply

Fetch Data From An API And Display In Flatlist In React NativeFlutter Vs React Native Vs Xamarin For Cross Platform DevelopmentReact Native Simple Flatlist Component Android Example234

Choose Between Wordpress And Drupal Your ReviewWeb-designing Tutorial In IbadanN