Skip to content

Commit 552d09f

Browse files
steelrooterfacebook-github-bot
authored andcommitted
Convert fbandroid/libraries/fresco/drawee/src/m/j/c/f/drawee/drawable/CloneableDrawable to Kotlin
Reviewed By: kartavya-ramnani Differential Revision: D62575264 fbshipit-source-id: cf8cc16d3b893b793b032b48a817e5e86cb45bbd
1 parent 21c48f4 commit 552d09f

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

drawee/src/main/java/com/facebook/drawee/drawable/CloneableDrawable.java renamed to drawee/src/main/java/com/facebook/drawee/drawable/CloneableDrawable.kt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,16 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
package com.facebook.drawee.drawable;
8+
package com.facebook.drawee.drawable
99

10-
import android.graphics.drawable.Drawable;
11-
import androidx.annotation.Nullable;
12-
import com.facebook.infer.annotation.Nullsafe;
10+
import android.graphics.drawable.Drawable
1311

1412
/** A drawable that is capable of cloning itself. */
15-
@Nullsafe(Nullsafe.Mode.LOCAL)
16-
public interface CloneableDrawable {
17-
13+
fun interface CloneableDrawable {
1814
/**
1915
* Creates a copy of the drawable.
2016
*
2117
* @return the drawable copy
2218
*/
23-
@Nullable
24-
Drawable cloneDrawable();
19+
fun cloneDrawable(): Drawable?
2520
}

0 commit comments

Comments
 (0)