ورود

View Full Version : خطا هنگام ایجاد لیست



mehdidanesh
سه شنبه 03 تیر 1393, 11:21 صبح
با سلام
من یک ExpandableListView درست کردم بهمراه یکسری رشته؛
exv.setAdapter(new MyAdapter(this));
روی setAdapter خطا دارد
خطا: The method setAdapter(ListAdapter) is ambiguous for the type ExpandableListView

مشکل کجاست و چ باید کرد؟
با تشکر

spiderman200700
سه شنبه 03 تیر 1393, 16:58 عصر
سلام.
باید به جای ListAdapter از BaseExpandableListAdapter استفاده کنی.