Android Open Source - Yeah-MaterialLove Covered Technic Adapter

From Project

Back to project page Yeah-MaterialLove.


The source code is released under:

Apache License

If you think the Android project Yeah-MaterialLove listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.yeahdev.materiallovetesting.adapter;
/*from   w  w  w  .  j a va2  s.c o  m*/
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;

import com.devspark.robototextview.widget.RobotoTextView;
import com.yeahdev.materiallovetesting.R;

public class CoveredTechnicAdapter extends ArrayAdapter<String> {

    private final static String[] TECHNICS = {
            "Communication between Activity and Fragments",
            "Extend ArrayAdapter",
            "Extend ItemViewHolder",
            "Floating Action Button",
            "Google + Login",
            "Scene Transition Animation",
            "Material Dialogs"

    public CoveredTechnicAdapter(Context context) {
        super(context, R.layout.listview_item_covered_technic);

    public int getCount() {
        return TECHNICS.length;

    public View getView(int position, View convertView, ViewGroup parent) {
        if (convertView == null) {
            convertView = LayoutInflater.from(getContext()).inflate(R.layout.listview_item_covered_technic, parent, false);

        ((RobotoTextView) convertView.findViewById([position]);

        return convertView;

Java Source Code List