Skip to content

nightbear1009/GoogleCalendarListView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

GoogleCalendarListView

這是一個示範如何寫出類似 googleCalendarListview的範例程式

alt tag

Sample

addItemDecoration in RecyclerView

mRecyclerView.addItemDecoration(new MyItemDecoration());

where MyItemDecoration is as below in getShiftListener return ShiftImageView

public class MyItemDecoration extends ShiftItemDecoration {
    @Override
    public onShiftListener getShiftListener(View view) {
        return (onShiftListener)view.findViewById(R.id.img);
    }
}

use ShiftImageView in adapter's viewHolder

enjoy!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages