How to display the json data in multiautocomplete textview? <p>I am new to android, am developing one application in which i have to get the data from the server need to store that data in sqlite, so every time i should not hit the server,when ever i want get from database,in this app i used fragment concept,when i enter the single character in multiautocomplete textview based on the names in <code>json</code> response it needs to show the email-ids which are matching to that character in drop down list. i have done the code am not getting errors but not getting the expected result in <code>textview</code></p> <p>when i debug the code the following block of code is not executing i don't know what is the problem in this can you please help me any one</p> <pre><code> new Handler().post(new Runnable() { public void run() { Cursor cursor = contactDataSource.getAllData(); if (BuildConfig.DEBUG) Log.d(TAG, "total contcat count :" + cursor.getCount()); while (cursor.moveToNext()) { if (BuildConfig.DEBUG) Log.d(TAG, "Contact from cursor:" + cursor.getString(cursor .getColumnIndex(ExistingContactTable.COL_NAME))); } customAdapter = new CustomContactAdapter(getActivity(), cursor); Log.i("Custom contact adapter", "" + customAdapter); if (customAdapter != null) editorIdSharableEmail.setAdapter(customAdapter); } }); </code></pre>