I am trying to find which broadcast is being sent on language change when user changes language in the settings.

How do I log this in my console. I have a lot of logs popping up and can't seem to get it. Is there a way to log that?

THanks!

有帮助吗?

解决方案

I am trying to find which broadcast is being sent on language change when user changes language in the settings.

You are probably looking for ACTION_LOCALE_CHANGED.

How do I log this in my console

Create a BroadcastReceiver that listens for this broadcast, and have it log a message to LogCat, using the Log class, from its onReceive() method.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top