I want to implement the HMS analytics in the fragment does HMS Analytics Kit supports fragments.
Asked
Active
Viewed 52 times
1 Answers
1
The quick answer to your question is: yes, Analytics Kit supports fragments.
The static methods in HiAnalytics need either an Activity or a Context instance, both of which are provided by a Fragment. Check out this implementation tutorial.

Adi B
- 819
- 1
- 8
- 11