Closed houugen closed 2 years ago
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { Intent data = getIntent(); Handler handler = this.y; Message message = Message.obtain(handler, 1); message.obj = data; this.y.sendMessageDelayed(message, 100L); }
private Handler y = new Handler(Looper.getMainLooper()) { @Override public final void handleMessage(Message message) { super.handleMessage(message); Object obj = message.obj; ShareTransActivity.this.startActivity((Intent) obj); } };
Hey, can I increase the “Propagation” or sth. to check out this path?
Solution found
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { Intent data = getIntent(); Handler handler = this.y; Message message = Message.obtain(handler, 1); message.obj = data; this.y.sendMessageDelayed(message, 100L); }
private Handler y = new Handler(Looper.getMainLooper()) { @Override public final void handleMessage(Message message) { super.handleMessage(message); Object obj = message.obj; ShareTransActivity.this.startActivity((Intent) obj); } };
Hey, can I increase the “Propagation” or sth. to check out this path?