Pull to Refresh | ListView Android

Pubblicato il: 15 aprile 2019
sul canale di: begitu saja
326
1

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.


In questa pagina del sito puoi guardare il video online Pull to Refresh | ListView Android della durata di ore minuti seconda in buona qualità , che l'utente ha caricato begitu saja 15 aprile 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 326 volte e gli è piaciuto 1 spettatori. Buona visione!