You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when i use "recyclerView.getChildAt(1)"
returns me this error :
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewTreeObserver android.view.View.getViewTreeObserver()' on a null object reference
what can i do about this ?
thank's
The text was updated successfully, but these errors were encountered:
i'm using recycler view in a fragment in my app and i need to say something about first recyclerview item
using this code :
but when i use "recyclerView.getChildAt(1)"
returns me this error :
what can i do about this ?
thank's
The text was updated successfully, but these errors were encountered: