question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to add dynamicly date seperators based on a variable in other models?

See original GitHub issue

Hi I want to make date seperators like in the following image:

chat room - group - image

I do have a created At value on each message. I do want to add a date seperator in between Message A and Message B if B is on a different day than A. How can I archive that? I do use the PagingController for my room DB data.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
elihartcommented, Feb 13, 2019

in the interceptor list you should be able to modify the list directly with additions or removals

0reactions
MTRNordcommented, Feb 21, 2019

This worked using overriding addModels. Thanks for the help

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to input a dynamic date variable
The Dynamic Date Variable is a method used to insert dates into web pages relative to the current time. It supports custom formatting, ......
Read more >
dynamic date formats in eyecon's Bootstrap Datepicker
JQuery to update the datepicker separator on format change: $('#custom_date_format').change(function() { $('.j-start-date').data('datepicker').
Read more >
Dynamically change the format of values in Power BI
Learn how to dynamically change the format of values between number, %, and currency in Power BI using DAX through some examples.
Read more >
Dynamic Text Variables for Time and Date - Paligo
To add automatically generated time and date information to your content, use dynamic text variables. The time and date are inserted during ...
Read more >
Create a Dynamic Date Variable - SAS Support Communities
I am looking to create a date variable that grabs the current date, and 60 days before the current date. Currently, I am...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found