yoonzm / react-native-alphabet-flat-list Goto Github PK
View Code? Open in Web Editor NEW使用FlatList制作的react-native字母选择列表
Home Page: https://github.com/yoonzm/react-native-alphabet-flat-list
License: MIT License
使用FlatList制作的react-native字母选择列表
Home Page: https://github.com/yoonzm/react-native-alphabet-flat-list
License: MIT License
useNativeDriver is required now.
能不能将右边的字母高度固定,字母少了居中显示,像微信一样。
还有个问题,如果开头字母不是字母,而是其他字符也不好处理,因为json键值不能是汉字或者数字。
如果数据量超过上千条或者更多的情况下,一次性渲染肯定是不行的,如果是分页加载的话,比如第一次加载100条数据,会渲染100个item,第二次再次加载100条数据,是不是会渲染200个item?(就是把之前那100个item也会重新渲染)
Hi there,
thank you for the library, but can the AlphabetFlatList be called from plain javascript react-native?
Like so
<AlphabetFlatList IContact={IContact} .../(>
or so?
I think we must change the key from number to string
Failed child context type: Invalid child context
virtualizedCell.cellKey
of typenumber
supplied toCellRenderer
, expectedstring
.
How will I know which one is selected?
There is no way to pass function to get the selected cell.
This library is tightly coupled
It should be import AlphabetFlatList from "@yoonzm/react-native-alphabet-flat-list";
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.