Skip to content

hello #51

@ispirLee25

Description

@ispirLee25

my page change listener is not working

internal class MyPageChangeListener : Java.Lang.Object, ViewPager.IOnPageChangeListener
{
public MyPageChangeListener(MainActivity activity)
{
this.activim = activity;
Toast.MakeText(activim, "Tammadır", ToastLength.Long).Show();
System.Diagnostics.Debug.WriteLine("sadgasg");
}
public MainActivity activim;
public void OnPageScrolled(int position, float positionOffset, int positionOffsetPixels)
{
Toast.MakeText(activim, "Tammadır", ToastLength.Long).Show();
System.Diagnostics.Debug.WriteLine("OnPageSelected" + " " + position);
}

        public void OnPageScrollStateChanged(int position)
        {
            Toast.MakeText(activim, "Tammadır", ToastLength.Long).Show();
            System.Diagnostics.Debug.WriteLine("OnPageSelected" + " " + position);
        }

        public void OnPageSelected(int position)
        {
            Toast.MakeText(activim, "Tammadır", ToastLength.Long).Show();
            System.Diagnostics.Debug.WriteLine("OnPageSelected" + " " + position);

        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions