-1

I want to implement the HMS analytics in the fragment does HMS Analytics Kit supports fragments.

Basavaraj
  • 306
  • 2
  • 8

1 Answers1

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