Post, Code and Quiet Time.

Welcome to Errong's Post, Code and Quiet Time.

Android how to detect/register language/locale change listener/receiver

The easy way is to register a BroadcastReceiver for Intent.ACTION_LOCALE_CHANGED. Example: change your ViewModel data when language/locale changed. public class QASViewModel extends ViewModel { @SuppressLint("StaticFieldLeak") private final FragmentActivity activity; public QASViewModel(@NonNull FragmentActivity activity) { this.activity = activity; setLangReceiver(); } private void setLangReceiver() { final QASViewModel qasViewModel = this;

AWS : how to play a video file from s3 bucket in browser

URI all you have to do is to sign a request like: and set it as src attribue to a video element. Player component import
2 min read