我为ListView制作了一个自定义适配器,但由于某种原因,getView方法的参数“位置”始终为0,这使得该方法非常无用。这是我的customAdapter的代码,扩展了BaseAdapter:publicclassCreateProgramAdapterextendsBaseAdapter{privateLayoutInflaterinflater;privateArrayListtrainingPasses;privateListitems;privateContextcontext;publicCreateProgramAdapter(Contextcontext,Listit