₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,081 members, 8,448,565 topics. Date: Monday, 20 July 2026 at 02:17 PM

Toggle theme

React Native Show Message For Empty Flatlist - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingReact Native Show Message For Empty Flatlist (888 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

.net UWP Developer That Knows About Rotation Of Shapes Is NeededHow To Add New Desired Fields In Your Signup Form For Registration?Master Web Development & Programming With This New Platform