android-mvvm-architecture
android-mvvm-architecture copied to clipboard
performDataBinding() take too much time
Hi @amitshekhariitbhu... First, i would like to say thanks for your awesome lib
i have problem in my project. when i start new activity performDataBinding() take to much time (sometimes more than 5-6 sec) and new activity start so slow. what is the cause of this problem? & is there any way to fix this?
Thanks 👍
Let us check
@parsibit Could you please brief more, on which activity you are getting this issue? it will be also helpful for us if you could share your code where you are getting this problem!!
I had checked this sample app, run on my device and it is working fine for me.
it happened in all activities. in some of them take less time and in some more. (1-6 sec) i printed some log and It turned out that the problem is from this part:
mViewDataBinding = DataBindingUtil.setContentView(this, getLayoutId()); in performDataBinding()
on which device you are running this sample app?
on which device you are running this sample app?
xiaomi mi5, huawei nova 3, android studio emulator
my friend i have this problem too
I am also facing the same issue,
mviewDataBinding = DataBindingUtil.setContentView(this, getLayoutId());
on which device you are running this sample app?
did you have any helpful suggestion?