Skip to content

Instantly share code, notes, and snippets.

@amitshekhariitbhu
Created May 6, 2016 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitshekhariitbhu/6fe89df3e9fa73bb99d77542a2c96a88 to your computer and use it in GitHub Desktop.
Save amitshekhariitbhu/6fe89df3e9fa73bb99d77542a2c96a88 to your computer and use it in GitHub Desktop.
package com.memory.test;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
/**
* Created by amitshekhar on 06/05/16.
*/
public class DummyActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
finish();
}
}, 500);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment