E/RecyclerView: No adapter attached; skipping layout
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: By the title of this question, its easily understandable that, the adapter of recyclerview is not set inside a UI thread. But in my case to avoid that I have tried doing it even on UI thread but still no luck. I am using FirebaseUI for my app. Below is the code snippet: public static void getUserFromUserId ( @NonNull DatabaseReference dbRef , @NonNull String userId ) { dbRef . child ( USERS ). child ( userId ) . addListenerForSingleValueEvent ( new ValueEventListener () { @Override public void onDataChange ( DataSnapshot