Agenda loading forever.
See original GitHub issueI created an <Agenda />
component with the code below, but the agenda show an spin loading forever. I created the project with create-react-native-app
.
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Facebook, WebBrowser } from 'expo';
import { Linking } from 'react-native';
import { Card, CardSection, Button } from './common';
import { loginWithFacebook } from '../actions';
import { Agenda } from 'react-native-calendars';
@connect(null, { loginWithFacebook })
class LoginStudent extends Component {
static navigationOptions = {
title: 'Login Student',
};
render() {
return (
<Agenda
items={{'2012-05-22': [{text: 'item 1 - any js object'}],
'2012-05-23': [{text: 'item 2 - any js object'}],
'2012-05-24': [],
'2012-05-25': [{text: 'item 3 - any js object'}],
}}
loadItemsForMonth={(mongh) => {console.log('trigger items loading')}}
onDayPress={(day)=>{console.log('day pressed')}}
selected={'2012-05-16'}
renderItem={item => <View />}
renderDay={(day, item) => <View />}
renderEmptyDate={() => <View />}
rowHasChanged={(r1, r2) => (r1.text !== r2.text)}
hideKnob={true}
theme={{}}
style={{}}
/>
);
}
}
export default LoginStudent;
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:46 (12 by maintainers)
Top Results From Across the Web
Google calendar not loading? Here is how to fix it. - TimeTackle
1. Check your settings · 2. Re-install Google calendar · 3. Enable storage · 4. Clear cache.
Read more >Loading :: Global Agenda General Discussions
After a minute or so, I get thrown back to the login screen. I doubt they have permanently shut down the servers since...
Read more >Calendar Loads Very Slowly - Microsoft Community
I've just downloaded Outlook 2010 and the calendar loads very slowly - sometimes taking over a minute to load appointments.
Read more >Agenda: Widget+ not loading: Issues with Agenda: Widget+ - App ...
We hope that the following solutions help so that you can load Agenda: Widget+ and the download doesn't take forever. If you know...
Read more >Why is my Android Calendar widget stuck saying Loading..?
Hi everyone. One of the main reasons I have a smartphone is because I like being able to open my phone and see...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The documentation is wrong, the prop should be renderEmptyData and NOT renderEmptyDate
this props = renderEmptyData={() => { return null }} resolved for me!