Java tutorial
/* * This file is part of ZSE Info. * * ZSE Info is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * any later version. * * ZSE Info is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Foobar; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package org.enbyted.android.zseinfo.view; import android.content.Context; import android.support.v4.content.ContextCompat; import android.widget.ArrayAdapter; import org.enbyted.android.zseinfo.R; /** * Created by Bartosz Grabias on 20.02.14. */ public class EmptyListAdapter extends ArrayAdapter<String> { public EmptyListAdapter(Context context) { super(context, R.layout.row_weekday_entry, new String[0]); } }