File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ app:csEndDrawableVisible"true | false"
149149app:csTopDrawableVisible"true | false"
150150app:csBottomDrawableVisible"true | false"
151151```
152+ (default is true)
152153
153154#### Code
154155
@@ -170,7 +171,7 @@ Create a ```CsDrawable``` object using the builder class
170171``` java
171172CsDrawable csDrawable = new CsDrawable .Builder (this , R . drawable. ic_close_red_24dp)
172173 .setDrawableDpSize(30 , 30 ) // or .setDrawablePixelSize(width, height) for pixel
173- .setVisibility(false )
174+ .setVisibility(false ) // optional, default true
174175 .build();
175176```
176177
@@ -212,6 +213,7 @@ viewInstance.setOnDrawableClickListener(new OnDrawableClickListener() {
212213 switch (position){
213214 case START : startDrawableClicked(); break ;
214215 case END : endDrawableClicked(); break ;
216+ }
215217 }
216218});
217219```
You can’t perform that action at this time.
0 commit comments