How to get the last 2 nodes thank you I want to get those node : [THIS IS THE DATABASE STRUCTURE THANKS][1]
I show there my codes and database structure hope you guys help me
 show there my codes and database structure hope you guys help me
 show there my codes and database structure hope you guys help me
 show there my codes and database structure hope you guys help me


  [1]: https://i.stack.imgur.com/CgIM3.jpg

public class MainActivity extends AppCompatActivity {

    public RecyclerView recyclerView , recyclerView1 ;




    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
            final DatabaseReference requestsRef = FirebaseDatabase.getInstance().getReference().child("Requests");
            recyclerView = (RecyclerView) findViewById(R.id.recycler_foods);
            recyclerView.setHasFixedSize(true);
            recyclerView.setLayoutManager(new LinearLayoutManager(this));
            Query firstRequestQuery = requestsRef.orderByKey().limitToFirst(1);
            firstRequestQuery.addValueEventListener(new ValueEventListener() {

                @Override
                public void onDataChange(DataSnapshot dataSnapshot) {

                    for (DataSnapshot requestSnapshot: dataSnapshot.getChildren()){


                        FirebaseRecyclerAdapter<Food,FoodViewHolder> adapter = new FirebaseRecyclerAdapter<Food, FoodViewHolder>(
                                Food.class,
                                R.layout.individual_row,
                                FoodViewHolder.class,
                                requestSnapshot.getRef().child("foods")



                        ) {
                            @Override
                            protected void populateViewHolder(FoodViewHolder viewHolder, Food model, int position) {
                                viewHolder.setProductName(model.getProductName());
                                viewHolder.setQuantity(model.getQuantity());

                            }
                        };


                        recyclerView.setAdapter(adapter);
                    }
                }
                @Override
                public void onCancelled(DatabaseError databaseError) {
                }

            });
