ApngDecoder.decodeApngAsyncInto(requireContext(),
file.path,
binding.image,
callback = object : ApngDecoder.Callback {
override fun onSuccess(drawable: Drawable) {
binding.bgLoading.visibility = View.GONE
}
override fun onError(error: Exception) {
println("Error : $error")
}
})