Support for creating and sharing public url from the app#1285
Support for creating and sharing public url from the app#1285retiolus wants to merge 2 commits intowallabag:masterfrom
Conversation
|
I guess I understated the complexity of this for a newcomer. Actually, even I spent an hour remembering how all this works and I'm still having trouble putting it all together :) I'll probably have to implement it myself (because the codebase is more complex than it should have been), but here's some pointers so you can hack something usable for yourself. The very minimum that needs to be done is a call like this: Article article = wallabagService.modifyArticleBuilder(articleId)
.isPublic(true)
.execute();That would request the server to "share" the article. The returned The problem is that Android would only allow you to do that in a non-UI thread (because it's a "long" network operation). I guess the simplest way would be to use I'll try to implement it properly in the near future, but can't promise anything. |
#742