平板列表未显示(本机显示)

时间:2019-07-16 07:23:39

标签: react-native react-native-android react-native-flatlist

从我的json完全不显示平面列表

我尝试从其他人那里复制示例代码以从json制作清单,但这对我不起作用

这里我尝试过的链接 https://snack.expo.io/@rayhanyulanda/5b84d0

dbpolling!WindowsService_0!1ff0!07/17/2019-10:07:52:: i INFO: EventPolling polling service started
dbpolling!WindowsService_0!1ff0!07/17/2019-10:07:52:: i INFO: NotificationPolling polling service started
dbpolling!WindowsService_0!1ff0!07/17/2019-10:07:52:: i INFO: SchedulePolling polling service started
dbpolling!WindowsService_0!1ff0!07/17/2019-10:07:52:: i INFO: UpgradePolling polling service started
dbpolling!WindowsService_0!bc8!07/17/2019-10:07:52:: i INFO: PollingMaintenance: Polling started
rpcserver!DefaultDomain!1ff0!07/17/2019-10:07:52:: i INFO: RPC Server started.
servicecontroller!DefaultDomain!1ff0!07/17/2019-10:07:52:: i INFO: RPC Server started. Endpoint name ='ReportingServices$MSRS12.MSSQLSERVER'
appdomainmanager!WindowsService_0!1ff0!07/17/2019-10:07:52:: i INFO: Appdomain:2 WindowsService_0 initialized.
library!DefaultDomain!1ff0!07/17/2019-10:07:53:: i INFO: Catalog SQL Server Edition = Developer
library!WindowsService_0!bc8!07/17/2019-10:12:36:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database.;
dbpolling!WindowsService_0!bc8!07/17/2019-10:12:36:: e ERROR: PollingFunction: Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: An error occurred within the report server database.  This may be due to a connection failure, timeout or low disk condition within the database. ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.).
rpcserver!DefaultDomain!1d90!07/17/2019-10:12:44:: i INFO: Process monitoring stopped.
rpcserver!DefaultDomain!2248!07/17/2019-10:12:44:: i INFO: RPC Server stopped.
servicecontroller!DefaultDomain!2248!07/17/2019-10:12:44:: i INFO: RPC Server stopped. 
appdomainmanager!DefaultDomain!2248!07/17/2019-10:12:44:: i INFO: Appdomain:2 WindowsService_0 unregistered.
appdomainmanager!DefaultDomain!2248!07/17/2019-10:12:44:: i INFO: Appdomain:2 WindowsService_0 unloading.
appdomainmanager!DefaultDomain!1ff0!07/17/2019-10:12:44:: i INFO: AppDomain:2 0 pending unload(s)
servicecontroller!WindowsService_0!bc8!07/17/2019-10:12:46:: i INFO: Service controller exiting.
dbpolling!WindowsService_0!bc8!07/17/2019-10:12:46:: i INFO: PollingFunction: Exiting for the following exception: Thread was being aborted.
dbpolling!WindowsService_0!bc8!07/17/2019-10:12:46:: i INFO: PollingMaintenance: Exiting for the following exception: Thread was being aborted.
appdomainmanager!DefaultDomain!c44!07/17/2019-10:12:46:: i INFO: Appdomain:2 unregistered.
rshost!rshost!c44!07/17/2019-10:12:46:: i INFO: Application domain type WindowsService statistics: created: 1, unloaded: 1, failed: 0, timed out: 0.
servicecontroller!DefaultDomain!2248!07/17/2019-10:12:46:: i INFO: Service shutting down.

有人可以帮我解决这个问题吗?我只想显示json的平面列表,但是为什么根本不显示呢?

1 个答案:

答案 0 :(得分:2)

在渲染中,您忘了给父视图style={{flex:1}},因为所有内容都占用空间,因此所有内容都在一行上渲染