React & React Native

SectionList

Në shqip përdoret i njëjti emër.

ShpjegimiSQ

SectionList është si FlatList, por me grupe me tituj — p.sh. kontaktet sipas shkronjës së parë, ose termat sipas kategorisë.

EnglishEN

SectionList is like FlatList, but with titled groups — e.g. contacts by first letter, or terms by category.

Si ta mendosh

Si fjalori i shtypur me ndarje për çdo shkronjë.

Lexoje në anglisht

Like a printed dictionary with a section for each letter.

Shembull kodijavascript

<SectionList
  sections={[{ title: "Java", data: termatJava }]}
  renderSectionHeader={({ section }) => <Text>{section.title}</Text>}
  renderItem={({ item }) => <Text>{item.emri}</Text>} />

Terma të lidhur