문제

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