I am creating an android application in which there is a tabular view to swipe through fragments. I want to set up a card view in one of the fragments. I am able to implement in a new activity but I am not able to implement it inside a fragment. I am not able to use functions like findViewById() and setContentView()
PS: I tried setting it up using "this" and getActivity() but it still isn't working.