问题
I am using Google Analytics in my app. I have fragments in my app. I created on base fragment as an abstract class. and using it for remaining fragment. Can any one help me to solve this?
This is how I created my abstract class and extend it to fragment
public abstract class BaseFragment extends Fragment{..}
In this base fragment, I added google analytics code, and I am able to track it in analytics.
Now I have another class created in this way.
public class FirstFragmemt extends BaseFragment {..}
In this fragment also I added analytics code, but it is not tracking or reflecting.
Can anyone tell what is the reason for that?
来源:https://stackoverflow.com/questions/48336515/google-analytics-is-not-reflecting-in-fragment