From fe19534237eb92b26fbd5b69273a2cd46393cf97 Mon Sep 17 00:00:00 2001 From: davidea Date: Tue, 18 Aug 2015 14:18:27 +0200 Subject: [PATCH] Added comment for initialization --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f2d61c4..5523ff20 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@ Also note that this adapter handles the basic clicks: _single_ and _long clicks_ #Setup Ultra simple: -No needs to create and import library for just 2 files, so just *copy* SelectableAdapter.java & FlexibleAdapter.java in your *common* package and start to *extend* FlexibleAdapter from your custom Adapter (see my ExampleAdapter). +No needs to create and import a library for just 2 files, so just *copy* SelectableAdapter.java & FlexibleAdapter.java in your *common* package and start to *extend* FlexibleAdapter from your custom Adapter (see my ExampleAdapter). + +Remember to initialize `mItems` (List already included in FlexibleAdapter) in order to manage list items. Method `updateDataSet(..)` can help in this. ####Pull requests / Issues / Improvement requests Feel free to contribute and ask!