File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/src/main/java/com/yy/mobile/svga/glideplugin/demo Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,9 @@ class MainActivity : AppCompatActivity() {
95
95
Glide .with (this ).load(url).into(iv_img)
96
96
}
97
97
98
+ @SuppressLint(" SetTextI18n" )
98
99
fun loadSVGAFromNetworkAndAddText (v : View ) {
100
+ tv_assets_name.text = " Add SVGADynamicEntity..."
99
101
GlideApp .with (this )
100
102
.asSVGA()
101
103
.load(" https://github.com/yyued/SVGA-Samples/blob/master/kingset.svga?raw=true" )
@@ -176,6 +178,7 @@ class MainActivity : AppCompatActivity() {
176
178
177
179
private val svgaFiles = listOf (
178
180
" alarm" ,
181
+ " jojo_audio" ,
179
182
" angel" ,
180
183
" EmptyState" ,
181
184
" heartbeat" ,
@@ -186,6 +189,7 @@ class MainActivity : AppCompatActivity() {
186
189
187
190
private val svgaResources = listOf (
188
191
R .raw.alarm,
192
+ R .raw.jojo_audio,
189
193
R .raw.angel,
190
194
R .raw.emptystate,
191
195
R .raw.heartbeat,
You can’t perform that action at this time.
0 commit comments