此DialogFragment是由web服务调用填充的列表视图。单击此列表视图中的某一行后,对话框将消失,活动将恢复,并显示通过'fragment interface pattern‘从适配器传递的字符串。我有以下适配器类:
public class MyAdapter extends ArrayAdapter<Profile> implements Adap
My problem:有主类和3个片段,使用swipe控制(SectionsPagerAdapter扩展FragmentPagerAdapter)。在所有的片段中,我们使用listview生成包含来自SQLite的数据的列表。这很好,但是onItemclick方法不起作用--我们已经尝试了几种方法,但都没有成功。我们使用自定义simpleCursorAdaptor并通过适配器的getView方法设置