Small project that shows how to implement and use Smart Lock APIs to save user credentials in your app across devices. This example shows how to use it just saving your own credentials or combining it with your Google Sign In data.
Sample using your own credentials
Sample using Google Sign In
To test it, you have to obtain your google services json file following this guide: https://developers.google.com/identity/sign-in/android/start (section "Get configuration file"), creating a project in your Google Developer Console.
https://developers.google.com/identity/smartlock-passwords/android/