Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performDataBinding() take too much time #44

Open
m-mirghafari opened this issue Jan 30, 2019 · 8 comments
Open

performDataBinding() take too much time #44

m-mirghafari opened this issue Jan 30, 2019 · 8 comments

Comments

@m-mirghafari
Copy link

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 👍

@amitshekhariitbhu
Copy link
Contributor

Let us check

@anandwana001
Copy link

anandwana001 commented Jan 30, 2019

@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.

@m-mirghafari
Copy link
Author

m-mirghafari commented Jan 30, 2019

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()

@m-mirghafari m-mirghafari changed the title performDataBinding() take to much time performDataBinding() take too much time Jan 30, 2019
@anandwana001
Copy link

on which device you are running this sample app?

@m-mirghafari
Copy link
Author

on which device you are running this sample app?

xiaomi mi5, huawei nova 3, android studio emulator

@fereydunRashidabadi
Copy link

my friend i have this problem too

@m-mirghafari m-mirghafari reopened this Jan 30, 2019
@kamaubrian
Copy link

I am also facing the same issue,
mviewDataBinding = DataBindingUtil.setContentView(this, getLayoutId());

@m-mirghafari
Copy link
Author

on which device you are running this sample app?

did you have any helpful suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants