react-native-gifted-listview icon indicating copy to clipboard operation
react-native-gifted-listview copied to clipboard

How to remove ~ tilde symbol at the end of the list?

Open CreativeManix opened this issue 8 years ago • 3 comments

CreativeManix avatar Feb 29 '16 15:02 CreativeManix

just edit GiftedListView.js or add your custom view

mrdekk avatar Feb 29 '16 17:02 mrdekk

in props of GiftedListView add this

      paginationAllLoadedView={this._renderPaginationAllLoadedView}

so implement _renderPaginationAllLoadedView like this:

_renderPaginationAllLoadedView() { return ( <View> </View> ); }

Hope this help!

TechGuyVN avatar Aug 17 '16 03:08 TechGuyVN

~ 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}
/>

habovh avatar Nov 24 '16 13:11 habovh