I in these lines of code eclipse gives me an error on the third like that states:”Cannot cast DialogFragment to View”, is there any workaround this? Or other option/options?
DialogFragment dateClock = new DatePickerFrag();
View homeSection = findViewById(R.layout.introducere_date);
((LinearLayout) homeSection).addView(((View) dateClock));
This would be one approach to show TimePickerDialog –
and then