- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Put each context data value in the same HashMap, and then pass one HashMap to the track call:
// Adobe - track when this state loads
HashMap<String, Object> exampleContextData1 = new HashMap<String, Object>();
exampleContextData1.put("myapp.login.LoginStatus", "logged in");
exampleContextData1.put("myapp.login.Template", "templateB");
Analytics.trackState("Home Screen", exampleContextData1);