Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

com.firebase.client.FirebaseException: Failed to bounce to type

+5 votes

Anyone know how to fix this error in firebase or what is causing it. I am using it inside FirebaseRecyclerViewAdapter

firebaseAdapter = new FirebaseRecyclerAdapter<Status, View_Holder>(Status.class, R.layout.card_view, View_Holder.class, mStatusRef) {
    @Override
    public View_Holder onCreateViewHolder(ViewGroup parent, int viewType) {

        View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.card_view, parent, false);
        View_Holder holder = new View_Holder(v);
        return holder;
    }

    @Override
    public void populateViewHolder(View_Holder holder, Status status, int position) {
        holder.setName(status.getName());
        holder.setDescription(status.getDescription());
        holder.setImage(R.drawable.ic_facebook);
    }
};

recyclerView.setAdapter(firebaseAdapter);
asked Apr 30, 2016 in Spring 2016 by Nelly Cheboi (100 points)

Please log in or register to answer this question.

...