Appium espresso driver. How to idling resources?

Hi. Please explain to me how to use this: https://developer.android.com/training/testing/espresso/idling-resource in Appium Espresso driver.
I appreciate any help, links, code examples for Appium Espresso Driver.
Thank you very much.