@@ -0,0 +1,2323 @@
+/*%0A * Copyright 2015 Red Hat, Inc. and/or its affiliates%0A * and other contributors as indicated by the @author tags.%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 */%0Apackage org.hawkular.client.android.adapter;%0A%0Aimport android.content.Context;%0Aimport android.support.annotation.NonNull;%0Aimport android.view.LayoutInflater;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0Aimport org.hawkular.client.android.R;%0Aimport org.hawkular.client.android.backend.model.Persona;%0A%0Aimport java.util.List;%0A%0Aimport butterknife.Bind;%0Aimport butterknife.ButterKnife;%0A%0Apublic final class PersonasAdapter extends BindableAdapter%3CPersona%3E %7B%0A    static final class ViewHolder %7B%0A        @Bind(R.id.text)%0A        public TextView nameText;%0A%0A        public ViewHolder(@NonNull View view) %7B%0A            ButterKnife.bind(this, view);%0A        %7D%0A    %7D%0A%0A    private final List%3CPersona%3E personas;%0A%0A    public PersonasAdapter(@NonNull Context context, @NonNull List%3CPersona%3E personas) %7B%0A        super(context);%0A%0A        this.personas = personas;%0A    %7D%0A%0A    @Override%0A    public Persona getItem(int position) %7B%0A        return personas.get(position);%0A    %7D%0A%0A    @Override%0A    public long getItemId(int position) %7B%0A        return position;%0A    %7D%0A%0A    @Override%0A    public int getCount() %7B%0A        return personas.size();%0A    %7D%0A%0A    @NonNull%0A    @Override%0A    protected View newView(LayoutInflater inflater, ViewGroup viewContainer) %7B%0A        View view = inflater.inflate(R.layout.layout_list_item, viewContainer, false);%0A%0A        view.setTag(new ViewHolder(view));%0A%0A        return view;%0A    %7D%0A%0A    @Override%0A    protected void bindView(Persona persona, int position, View view) %7B%0A        ViewHolder viewHolder = (ViewHolder) view.getTag();%0A%0A        viewHolder.nameText.setText(persona.getName());%0A    %7D%0A%7D%0A

Add personas adapter.