pretty-print
pretty-print copied to clipboard
Fun! But can you fix the infinite recursion?
It was fun trying this out - I actually was trying to make something to help me view data in an "Event", which I'll probably do with Android Studio debugging instead now that I think of it.
Try using your pp(event) on an OnEvent. It's recursive; and I totally understand why it might be recursive - I had to force stop the app to get it to stop, it just kept repeating one section over and over from the event.
I was mostly looking for something like dd
in Laravel (PHP).
Anyways, pretty cool - but the recursive thing kind of made it break. Not sure how you can fix that. Oh also - 2.0.8 is unresolved, had to use 2.0.2 (only one available in my Kotlin / Android Studio Project Structure). Let me know if this recursive thing is fixed in 2.0.8+ and how I can add it to my project. I'm kind of a noob with Kotlin so go easy on me.
Thanks for making this - will use it on other things!!!