Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MainActivity extends Activity {
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- ImageView ivGif = (ImageView) findViewById(R.id.ivGif);
- Glide.with(this).load(R.raw.my_gif).asGif().into(imageView);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement