Paginacion ListView Android Studio

1

I currently had a listview where I showed

  

movements

until here all right, the problem is that now I would like to add page, so I show 10 and then with a little arrow or something of that happen to the next 10. ,

This is my ListView

View:

 <ListView
            android:id="@+id/lstbillingnotifications"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:divider="@color/background_dark_grey"
            android:dividerHeight="1dp"
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp"
            android:layout_marginTop="15dp"
            />

Model:

    final ListView lstAuxBilling = (ListView) findViewById(R.id.lstbillingnotifications);
   AdapterCobroPendiente adapter = new AdapterCobroPendiente(BillingNotifications.this, items);
                        lstAuxBilling.setAdapter(adapter);
                        progressDialog.dismiss();
                        lstAuxBilling.setOnItemClickListener(new AdapterView.OnItemClickListener() {

                            @Override
                            public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {
                                // no se necesita
                            }
                        });

There is some way to transform what I already have so that it has a page or it must be presented with some new control, the truth is that I am not clear about this.

would be something like that but with the listview

    
asked by Bruno Sosa Fast Tag 17.01.2018 в 19:36
source

0 answers