lopspower / CircularImageView

Create circular ImageView in Android in the simplest way possible
Apache License 2.0
1.95k stars 413 forks source link

How can I import the packages such as OnColorListener and LobsterShadeSlider #60

Closed shenyeshashou closed 6 years ago

shenyeshashou commented 8 years ago

Hello, i am a complete beginner to soft-building. I careful study your code, and try to reproduct your logic, but i meet troble when i read: (( LobsterShadeSlider) findViewById(R.id.shadeslider)).addOnColorListener(new OnColorListener() { @Override public void onColorChanged(@ColorInt int color) { circularImageView. setBorderColor(color); circularImageView. setShadowColor(color); }

Due to i can't import the packages OnColorListener and LobSterShadeSlider, then i can't smoothly understand you code........ So,my question is:How can I import the packages such as OnColorListener and LobsterShadeSlider. or , Do i have to code it by myself? think you.