Module
ReactNative.Components.ListView  
- Package
 - purescript-reactnative
 - Repository
 - doolse/purescript-reactnative
 
See ListView
#SectionIndex Source
type SectionIndex = String#ListViewProps Source
type ListViewProps a section blob eff = ScrollViewPropsEx eff (dataSource :: ListViewDataSource' blob a section, enableEmptySections :: Boolean, initialListSize :: Int, onChangeVisibleRows :: EventHandler2 eff RowMap RowMap, onEndReached :: EventHandler eff (Nullable ScrollEvent), onEndReachedThreshold :: Int, pageSize :: Int, renderFooter :: Unit -> ReactElement, renderHeader :: Unit -> ReactElement, renderRow :: RowRenderer a, renderScrollComponent :: forall props. props -> ReactElement, renderSectionHeader :: SectionRenderer section, renderSeparator :: Fn3 SectionIndex RowIndex Boolean ReactElement, scrollRenderAheadDistance :: Int)#listView Source
listView :: forall section a blob. ListViewDataSource' blob a section -> (a -> ReactElement) -> ReactElementCreate a list view with a data source and a simple row rendering function
#listView' Source
listView' :: forall eff section a blob. Prop (ListViewProps blob a section eff) -> ListViewDataSource' blob a section -> RowRenderer a -> ReactElementCreate a list view with props, a data source and a row renderer
#listViewDataSource Source
listViewDataSource :: forall a. Array a -> ListViewDataSource aCreate a ListViewDataSource from an Array
Uses reference equality for rowHasChanged
#sectionListViewDataSource Source
sectionListViewDataSource :: forall section a blob. DataSourceSectionCloneable blob a section => blob -> ListViewDataSource' blob a section#listViewDataSource' Source
listViewDataSource' :: forall section a blob. Prop (ListViewDataSourceProps blob a section) -> ListViewDataSource' blob a section#cloneWithRows Source
cloneWithRows :: forall a. ListViewDataSource' (Array a) a (Array a) -> Array a -> ListViewDataSource' (Array a) a (Array a)#cloneWithRows' Source
cloneWithRows' :: forall a blob. Maybe (Array RowIndex) -> (DataSourceRowCloneable blob a => ListViewDataSource' blob a blob -> blob -> ListViewDataSource' blob a blob)#DataSourceSectionCloneable Source
class DataSourceSectionCloneable blob a section | blob -> a, blob -> sectionInstances
DataSourceSectionCloneable (StrMap (StrMap a)) a (StrMap a)DataSourceSectionCloneable (StrMap (Array a)) a (Array a)DataSourceSectionCloneable (Array (Array a)) a (Array a)
#cloneWithRowsAndSections Source
cloneWithRowsAndSections :: forall section a blob. DataSourceSectionCloneable blob a section => ListViewDataSource' blob a section -> blob -> ListViewDataSource' blob a section#cloneWithRowsAndSections' Source
cloneWithRowsAndSections' :: forall section a blob. DataSourceSectionCloneable blob a section => ListViewDataSource' blob a section -> blob -> Maybe (Array SectionIndex) -> Maybe (Array (Array RowIndex)) -> ListViewDataSource' blob a section#getRowCount Source
getRowCount :: forall section a blob. ListViewDataSource' blob a section -> Int#getRowAndSectionCount Source
getRowAndSectionCount :: forall section a blob. ListViewDataSource' blob a section -> Int#rowShouldUpdate Source
rowShouldUpdate :: forall section a blob. ListViewDataSource' blob a section -> SectionIndex -> RowIndex -> Boolean#getRowData Source
getRowData :: forall section a blob. ListViewDataSource' blob a section -> SectionIndex -> RowIndex -> a#getRowIDForFlatIndex Source
getRowIDForFlatIndex :: forall section a blob. ListViewDataSource' blob a section -> Int -> Nullable String#getSectionIDForFlatIndex Source
getSectionIDForFlatIndex :: forall section a blob. ListViewDataSource' blob a section -> Int -> Nullable String#getSectionLengths Source
getSectionLengths :: forall section a blob. ListViewDataSource' blob a section -> Array Int#sectionHeaderShouldUpdate Source
sectionHeaderShouldUpdate :: forall section a blob. ListViewDataSource' blob a section -> SectionIndex -> Boolean#getSectionHeaderData Source
getSectionHeaderData :: forall section a blob. ListViewDataSource' blob a section -> SectionIndex -> section#ListViewDataSource Source
type ListViewDataSource a = ListViewDataSource' (Array a) a (Array a)
#RowRenderer Source
data RowRenderer :: Type -> Type#SectionRenderer Source
data SectionRenderer :: Type -> Type#rowRenderer Source
rowRenderer :: forall a. (a -> ReactElement) -> RowRenderer a#rowRenderer' Source
rowRenderer' :: forall eff a. (a -> SectionIndex -> RowIndex -> EffFn2 eff SectionIndex RowIndex Unit -> ReactElement) -> RowRenderer a#sectionRenderer Source
sectionRenderer :: forall section. (section -> ReactElement) -> SectionRenderer section#sectionRenderer' Source
sectionRenderer' :: forall section. (section -> SectionIndex -> ReactElement) -> SectionRenderer section- Modules
 - ReactNative.
API  - ReactNative.
Android. API  - ReactNative.
Android. Components  - ReactNative.
Components  - ReactNative.
Components. ActivityIndicator  - ReactNative.
Components. Button  - ReactNative.
Components. Image  - ReactNative.
Components. ListView  - ReactNative.
Components. Modal  - ReactNative.
Components. NavigationExperimental  - ReactNative.
Components. Navigator  - ReactNative.
Components. NavigatorIOS  - ReactNative.
Components. Picker  - ReactNative.
Components. ScrollView  - ReactNative.
Components. Slider  - ReactNative.
Components. Switch  - ReactNative.
Components. Text  - ReactNative.
Components. TextInput  - ReactNative.
Components. Touchable  - ReactNative.
Components. TouchableNativeFeedback  - ReactNative.
Components. View  - ReactNative.
Events  - ReactNative.
Internal. Undefinable  - ReactNative.
Platform  - ReactNative.
PropTypes  - ReactNative.
PropTypes. Color  - ReactNative.
Styles  - ReactNative.
Styles. Flex  - ReactNative.
Styles. Image  - ReactNative.
Styles. Text  - ReactNative.
Unsafe. ApplyProps  - ReactNative.
Unsafe. Components