Coder Social home page Coder Social logo

react-native-mycalendar's Introduction

react-native-myCalendar

react-native-Calendar A calendar for react-native (rn 0.18)

##可以去calendar分支上查看单纯的日历(不过目前仍在开发完善中)。

已添加sqlite,可以在每一天纪录活动(add sqlite)

#Installation npm install

hope enjoy~

#issue android上,选择时段弹窗无法按返回键取消,会回退到上一页面。假期结束之后会修复

#Demo For IOS/Android

IOS: using ScrollView

Android: using ViewpagerAndroid

Support lunar

IOS gif

image

image

image

Android gif

image

image

react-native-mycalendar's People

Contributors

cqm1994617 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-native-mycalendar's Issues

你好,我在操作数据库的时候报错

我在自己建的项目下执行过npm install react-native-sqlite-storage --save这个命令,
但是在这一行let db = SQLite.openDatabase({name: "mydata.db", createFromLocation: 1}, openCB, errorCB);报错。
错误提示是: undefined is not an object(evaluating 'NativeModules["SQLite"][method]')
请问是什么原因,麻烦你了

提个小建议

你的开源精神很好。我觉得你就单独封一个日历组件就好了,不用再添加什么创建活动这些,你只需要专一的做好日历这个组件就好了,怎么个用法交给我们就好了。我觉得你添加那个创建活动有点多余

不能运行

在把pages包里面的js文件拷过去之后,又安装了react-native-sqlite-storage 之后运行了好多次一直出现Cannot read property 'open' of undefined问题

image

还有这个提示{
[intellij] [Warning] Couldn't import script at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false. Debugging won't work: Try reloading the JS from inside the app, or Reconnect the debugger: {"type":"TransformError","message":"SyntaxError D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","snippet":"\u001b[0m \u001b[90m 563 | \u001b[39m }\n \u001b[90m 564 | \u001b[39m})\u001b[33m;\u001b[39m\n\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 565 | \u001b[39m\u001b[36mexport\u001b[39m \u001b[36mdefault\u001b[39m main\u001b[33m;\u001b[39m\n \u001b[90m | \u001b[39m\u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m","lineNumber":565,"column":0,"filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","errors":[{"description":"D:/React-Native_workspace/MyCalendarDemo/pages/mainAndroid.js: Only one default export allowed per module. (565:0)","filename":"D:\React-Native_workspace\MyCalendarDemo\pages\mainAndroid.js","lineNumber":565}]}

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.