I have some problems with the doc and the code-examples. If i want to change from one activity to another, i use
ok. but the doc description (for eg. "chaining multiple calls into a single statement." is not so understandable for me:
public Intent setClass(Context packageContext, Class cls)
Convenience for calling setComponent(ComponentName) with the name returned by a Class object.
packageContext A Context of the application package implementing this class.
cls The class name to set, equivalent to setClassName(context, cls.getName()).
* Returns the same Intent object, for chaining multiple calls into a single statement.
any ideas what they mean?