OpenSooq / Pluto

Pluto is an Easy, lightweight and high performance slider view library for Android. You have the flexibility to customize it to any view since it based RecyclerView.
https://engineering.opensooq.com
109 stars 16 forks source link

weak global reference table overflow #21

Open taehee28 opened 3 years ago

taehee28 commented 3 years ago

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 commented 3 years ago

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