I programmed in java for a while, but I did not come across a strange expression
int kk = 2 | 3;
What does '|' mean in this expression? It seems to be difficult to google.
I met him at the source
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
Why do we need this?
source
share