About Api
Closed this issue · 6 comments
Hello this project using api and get data title image and date link and building block listing but clicking block opening webviev right ?
Yes, i know, use webview is kind of lazy way.
i have little api but no open webview link endpoint
I wanna try another way to load content... parse a html then show it in a View or directly show "body" element in JSON with CSS. @asdstyle33 ...... == maybe paring a html file is better...
@troyliu0105 Do you know how to get specific content through the API? You can get it from: https://github.com/izzyleung/ZhihuDailyPurify/wiki/%E7%9F%A5%E4%B9%8E%E6%97%A5%E6%8A%A5-API-%E5%88%86%E6%9E%90 and E.g: http://news-at.zhihu.com/api/4/news/3892357
ye.. i have read this wiki.... i tried to do that several hour ago.. but it's a little hard for me to save the all the fields of object to database. So I just use Serialization to save the whole List.
and later missions
- try to use start-image;
- abandon WebViewActivity, normal View(TextView, ImageView...) instead.
- Push notification...
@troyliu0105 Nice! I'm looking forward to your follow-up.