We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc28c58 commit 8ffd4e2Copy full SHA for 8ffd4e2
docs/annotations/binds.md
@@ -30,6 +30,22 @@ Example:
30
val wallpaper : String
31
```
32
33
+### @BindGif
34
+Used to annotate integer which represent the gif raw file name to load it into ImageView
35
+
36
+Parameters:
37
38
+- viewId: the id of the ImageView
39
40
+- loader: can be GifLoader.GLIDE, GifLoader.COIL
41
42
+Example:
43
44
+```kotlin
45
+@BindImage(GifLoader.COIL, "main_background")
46
+val wallpaper : Int
47
+```
48
49
### @BindImageRes
50
Used to annotate int which represent the resource id to used as an resoruce for ImageView
51
0 commit comments