From 86c6a3b32657c95d78bebd2968b74b92e606cbc7 Mon Sep 17 00:00:00 2001 From: Adrian Ulrich Date: Mon, 28 Mar 2016 09:00:00 +0200 Subject: [PATCH] Call notifyDataSetChanged() to trigger view updates Calling notifyDataSetInvalidated() would mean that we abaddon this adapter Fixes #84 (again) --- src/ch/blinkenlights/android/vanilla/FileSystemAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch/blinkenlights/android/vanilla/FileSystemAdapter.java b/src/ch/blinkenlights/android/vanilla/FileSystemAdapter.java index 2d480f5d..b31cdfa8 100644 --- a/src/ch/blinkenlights/android/vanilla/FileSystemAdapter.java +++ b/src/ch/blinkenlights/android/vanilla/FileSystemAdapter.java @@ -1,6 +1,6 @@ /* * Copyright (C) 2010, 2011 Christopher Eby - * Copyright (C) 2015 Adrian Ulrich + * Copyright (C) 2015-2016 Adrian Ulrich * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -158,7 +158,7 @@ public class FileSystemAdapter public void commitQuery(Object data) { mFiles = (File[])data; - notifyDataSetInvalidated(); + notifyDataSetChanged(); } @Override