Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,796,438 members, 6,680,590 topics. Date: Tuesday, 18 January 2022 at 12:37 PM

React Native Show Message For Empty Flatlist - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / React Native Show Message For Empty Flatlist (670 Views)

Top 10 Apps Built Using React Native. / Lets Learn React Native,javascript,react Js And Node Js Together(alimosho LGA) / Show Image From HTTP URL In React Native (2) (3) (4)

(1) (Reply)

React Native Show Message For Empty Flatlist by skptricks: 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)

Choosing Your First Programing Language / Firebase Or Mysql Database For Mobile App / How Many People Does Google Feed?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 23
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.