240 发简信
IP属地:重庆
  • React native - onEndReached 和 onRefresh 频繁调用触发问题

    Question 在写flatlist上拉下拉或者组件时,经常会遇到onEndReached 和 onRefresh 频繁调用触发的问题,会出现...

  • React Native中<ScrollView>在<TouchableOpacity>内无法滚动

    问题: ScrollView nested within TouchableOpacity is not scrollable in React...

  • React native - Push Notification (Firebase)

    How to add Push Notification in your project? I use firebase to send clo...

  • React native - ScrollView 通过contentOffset不能找到初始位置的问题

    问题 使用ScrollView的时候,react native有一个contentOffset变量,可以在渲染时设置初始变量,很多时候如果渲染成...

  • React native 项目中常用第三方库

    常用的第三方库每次更新,可能会带来一些问题,所以更新记得慎重,多看看第三方的Github网站上的评论,如果稳定了,就可以进行更新。 react-...

  • EP申请爬虫代码

    刚来新加坡的时候,因为要申请EP,每次查询状态,需要进入网站,输入用户名、护照名、出生日期,的确很麻烦,所以用Python写了一个脚本,可以自动...

  • 「每日一道算法题」Reverse Integer

    Algorithm OJ address Leetcode website : 7. Reverse Integer Description G...

  • iOS如何给分类添加成员变量

    需求 对于category,是无法静态的添加成员变量的。只能使用系统提供的动态的添加方法,objc_setAssociatedObject。写个...

  • 2018-12-29 Review & Shares

    Review English Article SQL vs. NoSQL Databases: What’s the Difference? I...