Comments (8)
@Slake07 Thanks for the solution it seems to work now
@ponnamkarthik You can close this issue now.
from richlinkpreview.
Am also facing the same issue
Am using RichLinkViewSkype and it is getting reset and blank view is set when we scroll through the recycler view for the second time !
The above solution by Slake07 seems to work thanks
from richlinkpreview.
Actually here I am not using RichLinkview class as I am using Richpreview class and populating values to my own xml and getting same issues.
from richlinkpreview.
I solved it!!!
from richlinkpreview.
hey, do you guys just manually edited the code while downloading? I have implemented and the code is only readable? know any way bypassing? Or I also implement it manually?
from richlinkpreview.
@santhoshpr can you tell me how you edited the code? I am not familiar with manual installation.
from richlinkpreview.
@Mahato12nikhil can you help me build is not working for me
from richlinkpreview.
When in recycleview link fetch every time when scroll. So I also use a static map to hold url with metadata and check if previous url already successfully fetch for metadata or not.
private static Map<String, MetaData> linkMap=new HashMap<>();
public void setLink(String url, final ViewListener viewListener) {
MetaData data = linkMap.get(url);
if(data == null) {
main_url = url;
RichPreview richPreview = new RichPreview(new ResponseListener() {
@Override
public void onData(MetaData metaData) {
meta = metaData;
if (!meta.getTitle().isEmpty() || !meta.getTitle().equals("")) {
viewListener.onSuccess(true);
linkMap.put(url, metaData);
}
setData();
}
@Override
public void onError(Exception e) {
viewListener.onError(e);
}
});
richPreview.getPreview(url);
}else{
main_url = url;
meta = data;
viewListener.onSuccess(true);
setData();
}
}
from richlinkpreview.
Related Issues (20)
- illegal character in path at index 0: {{metaservice.metaImage()}} HOT 1
- How to change background card color HOT 2
- Not getting twitter preview
- RichLinkViewTelegram : Not getting preview as onSuccess is called only when title is empty
- How to integrate own layout? HOT 4
- RichLinkPreview is not shwing on relaese build
- Not getting skype preview
- unable to handle MalformedException HOT 5
- Not Getting Youtube Link previews HOT 3
- https://parler.com url use then crash app
- Unable to create RichLinkViewTelegram fromMeta
- Ios Library
- Caching HOT 1
- Cache preview HOT 1
- Please notify in the readme that in order to install this library, one needs to have jcenter in their graddle repositories. HOT 1
- does not works well inside recyclerView HOT 1
- Url Start with www or http://
- The link's results are not being returned, and a timeout error is being thrown.
- Not Compatible Anymore HOT 4
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 richlinkpreview.