# WeekView **Repository Path**: cheng.com/WeekView ## Basic Information - **Project Name**: WeekView - **Description**: 可无限滑动的周日历 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 项目需要,自定义了一个可以无限左右滑动的显示一周的日历控件(产品的灵感来自苹果自带的日历上的某个控件)。 ![效果图](https://github.com/anyanyan07/WeekView/blob/master/screenPage/GIF_20181127_175851.gif) 使用: **1.Add it in your root build.gradle at the end of repositories:** ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` **2.Add the dependency:** ``` dependencies { implementation 'com.github.anyanyan07:WeekView:1.0.0' } ``` **3.布局文件:** ``` ``` **4.java代码:** ``` weekView.setFragments(getChildFragmentManager()); weekView.setDayClickListener(this); ```