@@ -0,0 +1,1512 @@
+/*%0A * Copyright (c) 2014 Ushahidi.%0A *%0A * This program is free software: you can redistribute it and/or modify it under%0A * the terms of the GNU Affero General Public License as published by the Free%0A * Software Foundation, either version 3 of the License, or (at your option)%0A * any later version.%0A *%0A * This program is distributed in the hope that it will be useful, but WITHOUT%0A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS%0A * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program in the file LICENSE-AGPL. If not, see%0A * https://www.gnu.org/licenses/agpl-3.0.html%0A */%0A%0Apackage com.ushahidi.android.ui.adapter;%0A%0Aimport com.ushahidi.android.core.entity.Deployment;%0Aimport com.ushahidi.android.model.DeploymentModel;%0A%0Aimport android.content.Context;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0Aimport java.util.List;%0A%0A/**%0A * Manages list of deployments%0A *%0A * @author Ushahidi Team %3Cteam@ushahidi.com%3E%0A */%0Apublic class DeploymentAdapter extends BaseListAdapter%3CDeploymentModel%3E %7B%0A%0A    public DeploymentAdapter(Context context, List%3CDeploymentModel%3E deploymentModelList) %7B%0A        this(context);%0A        setItems(deploymentModelList);%0A    %7D%0A    public DeploymentAdapter(Context context) %7B%0A        super(context);%0A    %7D%0A%0A    @Override%0A    public View getView(int i, View view, ViewGroup viewGroup) %7B%0A        return null;%0A    %7D%0A%7D%0A

Add deployment list adapter