Crear constructor de fragmentos en ArrayAdapter
ArrayAdapter<String> adapter = new ArrayAdapter<String>(fragment.getContext(), android.R.layout.simple_list_item_1, mydevices);
Distinct Dunlin