在导入下拉刷新的第三方类库时,
import com.handmark.pulltorefcresh.library.PullToRefreshBase;
import com.handmark.pulltorefresh.library.PullToRefreshBase.OnRefreshListener2;
import com.handmark.pulltorefresh.library.PullToRefreshBase.State;
import com.handmark.pulltorefresh.library.PullToRefreshListView;
import com.handmark.pulltorefresh.library.extras.SoundPullEventListener;
这些Import都can not be resolved
设置calsspath环境变量
这种问题很好解决,但是说清楚比较难。
两个方面,一是你导入后工程没有clean可能没有识别到改变,clean一下再看看;二是你导入的jar包存在问题,build path中看下是否有你想要的jar包。
这个问题有点高难度,我建议你去问你的老师或者公司里的一些同事比较好