Databinding
mahaicious opened this issue · 3 comments
mahaicious commented
where is the databinding folder in this project?
RassProjects commented
if you are finding "ActivityAnimations1Binding" from below code (Code from AnimationsActivity1 from sample )
ActivityAnimations1Binding binding = DataBindingUtil.setContentView(this, R.layout.activity_animations1);
sample = (Sample) getIntent().getExtras().getSerializable(EXTRA_SAMPLE);
binding.setAnimationsSample(sample);
then this is generated by Data-binding rules of android read here https://developer.android.com/topic/libraries/data-binding/index.html
for quick
- it is Depends on layout xml -----R.layout.activity_animations1 and uses
- Binding suffix
so data-binding class will be ActivityAnimations1Binding.
Thanks
lgvalle commented
Thanks for clarifying @RassProjects 👍
RassProjects commented
Pleasure is all mine.