ViewStub must have a valid layoutResource

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10536

  • ViewStub must have a valid layoutResource
  • via GitHub by lkwjohn
    , 1 year ago
    ViewStub must have a valid layoutResource
  • ViewStub must have a valid layoutResource
  • Stack trace

    • java.lang.IllegalArgumentException: ViewStub must have a valid layoutResource at android.view.ViewStub.inflate( at android.view.ViewStub.setVisibility( at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.updateHelperDisplays( at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.access$500( at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView$3.onChanged( at$AdapterDataObservable.notifyChanged( at$Adapter.notifyDataSetChanged( at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.setAdapterInternal( at com.marshalchen.ultimaterecyclerview.UltimateRecyclerView.setAdapter( at com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity.initRecyclerView( at com.wenming.weiswift.ui.login.fragment.profile.myweibo.MyWeiBoActivity.onCreate( at at at at at$900( at$H.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke( at$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago