Custom checkable list item with checkbox (layout+code)

Categories: ANDROID like

Here is simple example how to create simple checkable list item with checbox. This a code for widget: public class CheckableTextView extends LinearLayout { private TextView checkLabel; private CheckBox checkBox; public CheckableTextView(Context context) { super(context); } public CheckableTextView(Context context, AttributeSet attrs) { super(context, attrs); init(); } public CheckableTextView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, […]

Android NavigationDrawer not handling setOnItemClickListener- nothing happens – solution

Categories: ANDROID like

During my graduation work I had to use navigation drawer for menu list. What is more, I also needed pull to refresh layout. Both items are very sensitive and its order matters where to put them. You might be in situation where you think which one should be in which one. So during rebuilding layout […]