Simple Date Picker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
simpledatepicker
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

simpleDatePicker

Simple Date Picker

how to use

  1. implement DatePickerDialog.OnDateSetListener,

  2. overide methode
    @Override
    public void onDateSet(DatePicker datePicker, int year, int month, int day) {

    }
    3.call class Picker
    full implementation like this

import com.congfandi.simpledatepicker.Picker;

public class MainActivity extends AppCompatActivity implements DatePickerDialog.OnDateSetListener{

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    new Picker().show(getSupportFragmentManager(),null);

}

@Override
public void onDateSet(DatePicker datePicker, int year, int month, int day) {
   
}

}