Thingse/app/src/main/java/com/daneshzaki/thingse/EditSomething.java
//call date picker dialog to display date
call date picker dialog to display date
call date picker dialog to display date
public void showDatePickerDialog(View v) 
    {
        newFragment = new DatePickerFragment();
        newFragment.setDatePurchButton((Button) findViewById(R.id.datePurchField));
        newFragment.show(getFragmentManager(), "datePicker");
    }
public void showDatePickerDialog ( View v ) { newFragment = new DatePickerFragment ( ) ; newFragment . setDatePurchButton ( ( Button ) findViewById ( R . id . datePurchField ) ) ; newFragment . show ( getFragmentManager ( ) , "datePicker" ) ; }
call date picker dialog to display date
call date picker dialog to display date