title: how to set lottie animation in java as we do in xml?
body: <p>we do <code>app:lottie_rawRes="@raw/great"</code> to fetch lottie file but how can we do it in <code>java</code> to fetch lottie file like that as of <code>XML</code>? I tired to do many things but could not solve that. how can I get that?</p>