Print the contents of a Bundle to Logcat?

后端 未结 10 653
孤独总比滥情好
孤独总比滥情好 2020-12-24 04:47

Is there an easy way to print the contents of a Bundle to Logcat if you can\'t remember the names of all the keys (even being able to print just the key names w

10条回答
  •  执念已碎
    2020-12-24 05:04

    I have developed a library called pretty-print which annotation processor that prints the contents of the bundle in a nice table format. Do check it out https://github.com/NULLPointerGuy/pretty-print

提交回复
热议问题