Add a flag to be used by the intent

intent.add_flags(intent_flag.activity_new_task)

Returns self allowing fluent programming

Property definitions

android $ Intent :: add_flags
	# Add a flag to be used by the intent
	#
	# ~~~nitish
	# # TODO better example
	# intent.add_flags(intent_flag.activity_new_task)
	# ~~~
	# Returns `self` allowing fluent programming
	fun add_flags(flags: Int): Intent
	do
		intent.add_flags(flags)
		return self
	end
lib/android/intent/intent_api10.nit:708,2--719,4