Hello,
I know, that Dropbox only give 500 files per list and the flag "has_more". The GetFolderList() event will called more than one time.
To get the full list I want to save the AItems elements in my own TTMSFNCCloudItems list.
The first time, I use this code:
var existingFilesList : TTMSFNCCloudItems;
if existingFilesList = NIL then
existingFilesList.Assign(AItems);
The other times I want to add the next AItems to that list.
for I := 0 to AItems.Count-1 do
begin
if existingFilesList <> NIL then
existingFilesList .Add(AItems.Items[i]);
end;
But it doesn't work. Could you tell me a hint, how I can save the complete file list.
And is it possible to implement a boolean value like TTMSFNCCloudItems.has_more. That's better for checking, if more files will follow.