Is the populateViewHolder method used to receive data from the firebase database with the new Libraries?

0

I am building a project where I pass data to a cardview through firebase database, but the truth when building the adapter with the view holder I have the following problem

protected void onStart () {         super.onStart ();         FirebaseRecyclerAdapter firebaseRecyclerAdapter = new FirebaseRecyclerAdapter                 (Blog.class, R.layout.blog_row, BlogViewHolder.class, mDataBase) {             @Override             protected void onBindViewHolder (@NonNull BlogViewHolder viewHolder, int position, @NonNull Blog model) {                 viewHolder.setTitle (model.getTitle ());                 viewHolder.setDesc (model.getDesc ());                 viewHolder.setImage (getApplication (), model.getImage ());

        }



        @NonNull
        @Override
        public BlogViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
            return null;
        }
    };
    
asked by Upset Grade 08.04.2018 в 15:15
source

0 answers