Inconsistency when Getting Multiple Paths from clipData
habibicodz opened this issue · comments
Hi engineers,
There is a problem when returning multiple paths at once.
If clipData has 23 items then calling pickiT.getMultiplePaths(clipData) call pickiTonCompleteListener 2 times with single path each and pickiTonMultipleComplete 1 time with 21 paths
What i wanted is that calling pickiT.getMultiplePaths(clipData) should only called pickiTonMultipleCompleteListener() with returning to all data at once and not calling pickiTonCompleteListener() which contains single item.
Statistically report:
What i want >
Input:
pickiT.getMultiplePaths(clipData) //contains 23 items
Output:
PickiTonMultipleCompleteListener() return 23 paths
What is happening:
pickiT.getMultiplePaths(clipData) //contains 23 items
Output:
PickiTonCompleteListener() return 1 item
PickiTonCompleteListener() return 1 item again
PickiTonMultipleCompleteListener() return 21 paths
Sorry for my bad english.