位置项添加功能测试完成
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| #Created by .winboll/winboll_app_build.gradle | ||||
| #Sat Apr 05 06:19:16 GMT 2025 | ||||
| #Sat Apr 05 07:04:05 GMT 2025 | ||||
| stageCount=0 | ||||
| libraryProject= | ||||
| baseVersion=1.0 | ||||
| publishVersion=1.0.0 | ||||
| buildCount=451 | ||||
| buildCount=454 | ||||
| baseBetaVersion=1.0.1 | ||||
|   | ||||
| @@ -66,7 +66,7 @@ public class PositionsFragment extends Fragment { | ||||
|     Location mLocationTX; | ||||
|     Location mLocationPhoneGPS; | ||||
|     private RecyclerView recyclerView; | ||||
|     private PostionModelAdapter adapter; | ||||
|     private PostionModelAdapter mPostionModelAdapter; | ||||
|     private ArrayList<PostionModel> mPostionList; | ||||
|      | ||||
|     TextView mtvPostionFixModelInfo; | ||||
| @@ -138,6 +138,7 @@ public class PositionsFragment extends Fragment { | ||||
|                     //ToastUtils.show("mbtnAdd"); | ||||
|                     PostionUtils postionUtils = PostionUtils.getInstance(getActivity()); | ||||
|                     postionUtils.addPostion(mLocationPhoneGPS); | ||||
|                     mPostionModelAdapter.notifyDataSetChanged(); | ||||
|                 } | ||||
|             }); | ||||
|              | ||||
| @@ -146,8 +147,8 @@ public class PositionsFragment extends Fragment { | ||||
|  | ||||
|         mPostionList = PostionUtils.getInstance(getActivity()).getPostionModelList(); | ||||
|  | ||||
|         adapter = new PostionModelAdapter(getActivity(), mPostionList); | ||||
|         recyclerView.setAdapter(adapter); | ||||
|         mPostionModelAdapter = new PostionModelAdapter(getActivity(), mPostionList); | ||||
|         recyclerView.setAdapter(mPostionModelAdapter); | ||||
|          | ||||
|          | ||||
| //        metLockLatitude = viewMain.findViewById(R.id.locklatitude_et); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ZhanGSKen
					ZhanGSKen