Skip to content

Add example for image caching #2154

Open
@vytautas-pranskunas-

Description

@vytautas-pranskunas-

Hello,
I am trying to implement image caching on angular however there is no example how to do this.
In general example view model is updated however in angular there is no view model and with OnPush I need to go with observables. However the app crashes. Plus then not sure when to use enableDownload and disabled onload functions.
I asked question on stackoverflow.com but got no answer.
Question with service example can be found here : https://stackoverflow.com/questions/61418403/how-to-implement-image-caching-in-nativescript-angular

Finally I am going to do pipe not service but is its same -

  1. How to notify view about loaded images
  2. Where to use enableDownload disableDownload if I have image Cache pipe or service

It would be super cool to get answers from you guys and improve docs because I feel stuck a little bit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions