https://kotlinlang.org logo
Title
u

user

07/06/2022, 6:31 AM
How to get the size of the file stored in firebase storage and its link in firebase storage? here is my code to get the file size but I am unable to get it.:- ImageURL is stored in realtime database Picasso.get().load(ImageURL).placeholder(R.drawable.ic_baseline_image_200) .into(selected_title_image) val storageReference = FirebaseStorage.getInstance().getReferenceFromUrl(ImageURL) ImageSize = storageReference.getBytes() ImageSize /= 1024 Toast.makeText(baseContext, ImageSize.toString(), Toast.LENGTH_SHORT).show() I use the reference of...