通常,我不会问这样的问题;我做了我的研究,并且至少能够在StackOverflow上提问之前识别出问题所在。但这一次,即使是在一遍又一遍地深入研究和查看我的代码之后,我甚至都无法识别出问题所在。public int payment;
public int fulfilled;下面是数据访问对象的代码;
import androidx.recyclerview.widget.RecyclerVie
我使用Firebase来填充我的RecyclerView,但问题是每次我打开应用程序时,我都需要向下滑动以刷新,然后项目列表就可用了。static final int RC_PHOTO_PICKER = 2;
FirebaseHelper helper;RecyclerViewswipeRefresh=(SwipeRefreshLayout)findViewById(R.id.swiperefresh);
layout_constraintRight_toRightOf="parent"/>
在这个行结构中,我有几个项目要显示但是,当我运行我的应用程序时,屏幕上的文本视图不会显示,直到我再次向下滚动和向上滚动。基本上,为了显示这些文本视图,需要将它们从显示中删除并重新输入。下面是我的适配器代码:
public class FileViewAdapter e
public class ReferralStatus extends Fragment {
public RecyclerViewrecyclerView;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState= (RecyclerView) layout.findViewById(R.id.pendingRecyclerLis