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

weak global reference table overflow #21

Open
taehee28 opened this issue Oct 23, 2020 · 1 comment
Open

weak global reference table overflow #21

taehee28 opened this issue Oct 23, 2020 · 1 comment

Comments

@taehee28
Copy link

Hi
I've got problem with using this image slider

I put image slider in a little complex LinearLayout based layout. Image slider had worked good.
But, image slider starts occurring error and app is crushed after changed the layout structure into ConstraintLayout based
which is JNI ERROR (app bug): weak global reference table overflow (max=51200)
Even I don't know what's that means...
ImgSliderAdapter.java for this image slider is only thing error log pointed out that I can approach the code

// ViewHolder constructor
public ViewHolder(ViewGroup parent, int itemLayoutId) {
    super(parent, itemLayoutId);    // this line occurs error 

    iv_photo = getView(R.id.item_imgslider_iv);
}

I think this is really weird... why..?
Waiting for answer

@Yazan98
Copy link

Yazan98 commented Nov 30, 2020

Hi @taehee28
Can you give me an example of a Complex Layout you used with Pluto to get This Error
also give me the Adapter, Android Version, or Create Repo with The Example to trace the Problem

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

2 participants