@@ -0,0 +1,1403 @@
+/*%0A * Copyright 2011 CodeFlux, Inc %3Cinfo@teamcodeflux.com%3E%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.teamcodeflux.android.adapter;%0A%0Aimport android.content.Context;%0Aimport android.widget.SimpleAdapter;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Apublic abstract class AbstractSimpleAdapterBuilder%3CT%3E implements SimpleAdapterBuilder %7B%0A    private Context context;%0A    private List%3CT%3E data;%0A%0A    public AbstractSimpleAdapterBuilder(final Context context, final List%3CT%3E data) %7B%0A        this.context = context;%0A        this.data = data;%0A    %7D%0A%0A    @Override%0A    public SimpleAdapter build() %7B%0A        return new SimpleAdapter(context, data(data), resource(), from(), to());%0A    %7D%0A%0A    protected abstract List%3C? extends Map%3CString, ?%3E%3E data(List%3CT%3E data);%0A    protected abstract int resource();%0A    protected abstract String%5B%5D from();%0A    protected abstract int%5B%5D to();%0A%7D%0A

Helper superclass for SimpleAdapterBuilder