react-native-gifted-listview
react-native-gifted-listview copied to clipboard
How to remove ~ tilde symbol at the end of the list?
just edit GiftedListView.js or add your custom view
in props of GiftedListView add this
paginationAllLoadedView={this._renderPaginationAllLoadedView}
so implement _renderPaginationAllLoadedView like this:
_renderPaginationAllLoadedView() { return ( <View> </View> ); }
Hope this help!
~
symbol is used by the default paginationAllLoadedView
.
You can customise this view by passing it as a prop to your GiftedListView instance.
If you only want to remove it completely, then you just have to pass a function which returns null
to the paginationAllLoadedView
of your GiftedListView
component.
Example
<GiftedListView
{....}
paginationAllLoadedView={() => null}
/>