Comments (2)
To get ShrinkView as default, it is OK with this,
CellConfig.Month2WeekPos = CellConfig.middlePosition;
CellConfig.ifMonth = false;
expandIV.setImageResource(R.mipmap.icon_arrow_down);
expCalendarView.shrink();
from mcalendarview.
Hello,
For the second question.
DateCellView is just extend the LinearLayout, so you can set its background or backgroundcolor easily.
and the third.
You can detect it when you click the date, for example:
In the class: CalendarExpAdapter.class
((BaseCellView) ret).setDate(dayData.getDate()); if (OnDateClickListener.instance != null) { ((BaseCellView) ret).setOnDateClickListener(OnDateClickListener.instance); }
you can compare the dayData.getDate() with your minDate or MaxDate, then decide if the ret need the OnDateClickListener
Hope these above can help you .
from mcalendarview.
Related Issues (20)
- How to remove title year and month or center the text?
- Change Calendar Language HOT 2
- How to draw outline circle not fill color inside of circle in current date ?
- MarkStyle is having issue for Android API21 above HOT 1
- OnDateClickListener returning an incorrect date
- How to edit the style of the title ? HOT 2
- The ExpCalendarView cannot be inside a fragment with TabLayout
- Does not expand when inside scrollview HOT 1
- Inflating issues
- Min and max date
- travelTo() does not work in shrink mode
- Change Weekend background color and also title
- CalendarView inside TabLayout stops month change on swipe
- Date Change is not happening.
- How do I implement Customize Date cell ?
- Customize colour
- How clear markDate setOnDateClickListener?
- Crash on dialog Fragment HOT 1
- What is the newest version to write in graddle? Because I doubt it is 1.0.0. HOT 1
- Problem with implementation 'sun.bob:mcalendarview:1.0.0'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcalendarview.