Listview index smaller than 1

I am having a problem of list index. Whenever I use my application, and click on a list item, data gets loaded from the previous list item.


For example, when I click on the second list item, a new page opens that has to load data from airtable. And in database, I have four column, title, image, author and post. So clicking a list item should open a page with data from the same row. But it does not do that, and my app loads data from the previous list item’s row.
Here’s the code:-

Here’ the error:-

Here’s the database:-

Do you know index of list view image and text?
Index is start form 0 (zero) you need to position + 1 to get/call data or select index item from your list

2 Likes

Try This in your click event

blocks

3 Likes

Try this

do this first
on click

and the on screen intialize (Screen That you opened using click )
do this call values
2

and finally after getting value do this
3

Hope this works !!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.