Giter Club home page Giter Club logo

Comments (12)

MriDx avatar MriDx commented on July 24, 2024

no, it can be implemented in java codes too. I used this library for one of my project with java , android

from singlerowcalendar.

Androstark avatar Androstark commented on July 24, 2024

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.

MriDx avatar MriDx commented on July 24, 2024

Screenshot_20200927-165122
Try like this

from singlerowcalendar.

MriDx avatar MriDx commented on July 24, 2024

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.

aruns2896 avatar aruns2896 commented on July 24, 2024

@MriDx Not getting the object itemView from calendarViewHolder

How can you able to get that?

from singlerowcalendar.

MamtaSiddhi avatar MamtaSiddhi commented on July 24, 2024

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.

MriDx avatar MriDx commented on July 24, 2024

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.

MamtaSiddhi avatar MamtaSiddhi commented on July 24, 2024

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.

MriDx avatar MriDx commented on July 24, 2024

@MamtaSiddhi
You won't get the itemview directly, you will receive viewholder of type "CalendarViewHolder".

from singlerowcalendar.

MamtaSiddhi avatar MamtaSiddhi commented on July 24, 2024

Tried but not get it

calendarViewHolder.getItemDetails

getting this

not View

from singlerowcalendar.

MriDx avatar MriDx commented on July 24, 2024

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.

sahil1772 avatar sahil1772 commented on July 24, 2024

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

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.