Pull to Refresh | ListView Android

Publicado el: 15 abril 2019
en el canal de: 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.


En esta página del sitio puede ver el video en línea Pull to Refresh | ListView Android de Duración hora minuto segunda en buena calidad , que subió el usuario begitu saja 15 abril 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 326 veces y le gustó 1 a los espectadores. Disfruta viendo!