Comments (12)
no, it can be implemented in java codes too. I used this library for one of my project with java , android
from singlerowcalendar.
no, it can be implemented in java codes too. I used this library for one of my project with java , android
Hi i am also using java but in the bindDataToCalenderView method when using the holder.itemView doesn't find any view to set the text. Can you please help me
from singlerowcalendar.
from singlerowcalendar.
no, it can be implemented in java codes too. I used this library for one of my project with java , android
Hi i am also using java but in the bindDataToCalenderView method when using the holder.itemView doesn't find any view to set the text. Can you please help me
@Override public void bindDataToCalendarView(@NotNull SingleRowCalendarAdapter.CalendarViewHolder calendarViewHolder, @NotNull Date date, int i, boolean b) { ((MaterialTextView) calendarViewHolder.itemView.findViewById(R.id.tv_month_calendar_item)).setText(getMonth3Later(date)); ((MaterialTextView) calendarViewHolder.itemView.findViewById(R.id.tv_date_calendar_item)).setText(DateUtils.INSTANCE.getDayNumber(date)); ((MaterialTextView) calendarViewHolder.itemView.findViewById(R.id.tv_day_calendar_item)).setText(DateUtils.INSTANCE.getDay3LettersName(date)); }
try like this
from singlerowcalendar.
@MriDx Not getting the object itemView from calendarViewHolder
How can you able to get that?
from singlerowcalendar.
no, it can be implemented in java codes too. I used this library for one of my project with java , android
Will you plz explain it how you done it ?
from singlerowcalendar.
no, it can be implemented in java codes too. I used this library for one of my project with java , android
Will you plz explain it how you done it ?
What problem are you facing ?
from singlerowcalendar.
Same unable to get ItemView in java code implemented sdk of it
no, it can be implemented in java codes too. I used this library for one of my project with java , android
Will you plz explain it how you done it ?
What problem are you facing ?
Same unable to get ItemView in java code implemented sdk of it
from singlerowcalendar.
@MamtaSiddhi
You won't get the itemview directly, you will receive viewholder of type "CalendarViewHolder".
from singlerowcalendar.
Tried but not get it
calendarViewHolder.getItemDetails
getting this
not View
from singlerowcalendar.
Tried but not get it
calendarViewHolder.getItemDetails
getting this
not View
View itemView = calendarViewHolder.itemView;
itemView.findViewById(R.id.viewId).setText("hello world");
access it like this
from singlerowcalendar.
Tried but not get it
calendarViewHolder.getItemDetails
getting this
not ViewView itemView = calendarViewHolder.itemView;
itemView.findViewById(R.id.viewId).setText("hello world");
access it like this
Sorry but it returns getItemDetails() no matter how you accept the data. The itemView object is never returned. How do you handle the getItemDetails to receive at least the Id of the Views in it?
from singlerowcalendar.
Related Issues (20)
- The selected date wont change color after click button next/previous month HOT 11
- How to disable previous date and current date is selected by default HOT 1
- How can I show only month name?
- Can we add locale for multiple language?
- Great Library.... Just need little Help
- Possibiliy to use the library with a view pager ?
- Usage in Java android Project
- Load dates dynamically
- Current date selection by default HOT 3
- Put selected item in center
- ViewBinding
- Migrating from jcenter() HOT 1
- How can I district week day count to 7?
- is it available for java instead kotlin?
- JCenter is dead HOT 4
- isSelected returns false everytime when i move to next or previous month. HOT 2
- Could not find com.michalsvec:single-row-calednar:1.0.0. HOT 2
- is it possible to use this library with Jetpack Compose? HOT 1
- How to choose the style of the calendar ?
- Item change notification received for unknown item: -9 HOT 1
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 singlerowcalendar.