Ultra-visual iPhone app like UI for Android

can someone explain to me how to recreate the scroll effect in an android, for example, under an iPhone application, and this is not automatic scrolling.

enter image description here

I tried the following:

myview.setOnScrollListener(new OnScrollListener() {

        @Override
        public void onScrollStateChanged(AbsListView arg0, int scrollState) {

        }

        @Override
        public void onScroll(AbsListView listViews, int firstVisibleItem,
                int visibleItemCount, int totalItemCount) {
            final View view = getViewByPosition(firstVisibleItem);
}

I have no idea how this is done ...

+4
source share

Source: https://habr.com/ru/post/1532082/


All Articles