开发者

How to get currently displayed level of level-list

开发者 https://www.devze.com 2023-03-30 05:07 出处:网络
I\'ve created level-list drawable and I\'m changing its levels by setImageLevel(int), but I\'d like to check which level is currently set. Is there any way开发者_Go百科 to do it?http://developer.andro

I've created level-list drawable and I'm changing its levels by setImageLevel(int), but I'd like to check which level is currently set. Is there any way开发者_Go百科 to do it?


http://developer.android.com/reference/android/graphics/drawable/Drawable.html#getLevel()

is inherited by LevelListDrawable.

Regards, Stéphane

0

精彩评论

暂无评论...
验证码 换一张
取 消