Created
February 23, 2021 17:14
-
-
Save CodingWithTashi/6c589543548731ab22c5ebf77230fdb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TestFragment extends Fragment { | |
FragmentTestBinding fragmentTestBinding; | |
public TestFragment() { | |
// Required empty public constructor | |
} | |
@Override | |
public View onCreateView(LayoutInflater inflater, ViewGroup container, | |
Bundle savedInstanceState) { | |
// Inflate the layout for this fragment | |
fragmentTestBinding = FragmentTestBinding.inflate(getLayoutInflater(),container,false); | |
fragmentTestBinding.textData.setText("TestData"); | |
return fragmentTestBinding.getRoot(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment