I am building REST API which stores name, salary and expenses of people. How can I POST data of multiple people at the same time, like an array?

This is my serializers.py file

```
from rest_framework import serializers
from .models import Bucketlist

class BucketlistSerializer(serializers.ModelSerializer):
    class Meta:
        model = Bucketlist
        fields = ('id','name', 'date_created', 'salary','Expenditure')
        read_only_fields = ('date_created',)

```

This is my views.py file

![screenshot of views.py](https://i.stack.imgur.com/T4yAw.png)
['https://Stackoverflow.com/questions/50815061', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/9929677/']
As you are on your tabbed page already you can literally just do the following 

```
public partial class MyTabbedPage : TabbedPage
{
    public MyTabbedPage()
    {
        InitializeComponent();          
        CurrentPageChanged += CurrentPageHasChanged;
    }

    private void CurrentPageHasChanged(object sender, EventArgs e) => Title = CurrentPage.Title;
}

```

if you want to use the sender you can do the following

```
public partial class MyTabbedPage : TabbedPage
{
    public MyTabbedPage()
    {
        InitializeComponent();          
        CurrentPageChanged += CurrentPageHasChanged;
    }

    private void CurrentPageHasChanged(object sender, EventArgs e) 
    { 
        var tabbedPage = (TabbedPage) sender;
        Title = tabbedPage.CurrentPage.Title;
    }
}

```

Or if you can elaborate on what you are trying to do exactly I can give a better answer as I do not know what it is that you are trying to do exactly
I don't think you can achieve what you want to do, at least not like this. The event behaves the way it does and as described: it is fired whenever the current page changes, also for children.

That being said, I think you should focus on implementing the functionality you want with the tools we have. I can't really deduce from your code what you are trying to do, but it looks like you want to change the title? When a tab is changed? Why not just make some kind of condition to only do it for certain pages? For example when the page is contained in the `Children` collection?