Fix fast tapping crash again
This commit is contained in:
parent
0f19c8c224
commit
c1dbf5547a
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class FilePickerActivity extends AppCompatActivity implements FilePickerA
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(View view, int position) {
|
public void onItemClick(View view, int position) {
|
||||||
if (position < 0 || position > fileList.size()) // fix 'fast tapping' crash
|
if (position < 0 || position >= fileList.size()) // fix 'fast tapping' crash
|
||||||
return;
|
return;
|
||||||
|
|
||||||
String fileName = fileList.get(position).getName();
|
String fileName = fileList.get(position).getName();
|
||||||
|
|
Loading…
Add table
Reference in a new issue