var
LItem: TListViewItem;
begin
UniQuery1.Close;
UniQuery1.SQL.Clear;
UniQuery1.SQL.Add('Select * from Gallery Order By convert(int, id) Offset 0 ROWS FETCH NEXT '+IntToStr(Nilai)+' ROWS ONLY');
UniQuery1.Open;
ListView1.Items.Clear;
if not UniQuery1.IsEmpty then
begin
while not UniQuery1.Eof do
begin
LItem:=ListView1.Items.Add; // shortcut CTRL + Shift + V
LItem.ImageIndex:=0;
LItem.Text:=UniQuery1.FieldByName('id').AsString;
LItem.Detail:=UniQuery1.FieldByName('file_name').AsString;
UniQuery1.Next;
end;
Nilai:=Nilai+10;
Label1.Text:=Nilai.ToString;
end else Nilai:=10;
-------------------------------------------------------------------
-------------------------------------------------------------------
In this video we will see how to use pull to refresh in listview.
We will also see it's properties
Give star for this project on git and like the video.
Nesta página do site você pode assistir ao vídeo on-line Pull to Refresh | ListView Android duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário begitu saja 15 Abril 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 326 vezes e gostou 1 espectadores. Boa visualização!