Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

view binding

private ResultProfileBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    binding = ResultProfileBinding.inflate(getLayoutInflater());
    View view = binding.getRoot();
    setContentView(view);
}
Source by developer.android.com #
 
PREVIOUS NEXT
Tagged: #view #binding
ADD COMMENT
Topic
Name
4+9 =