Hi all, i have a question for my app.
-1 I want to do a search bar where the user insert a letter or a word and it show all film with this word or letter. Is it possibile with any function?
2 I want to do my app separete in two section. film and series tv sections. It's possible see in one activity the most viewed film and in other activity the most viewed series tv?
Thanks all
找不到电影或剧集?登录并创建它吧。
Travis Bell 的回复
于 2018 年 10 月 26 日 6:23下午
Sure, you can use the /search methods.
What do you mean by "most viewed"? What are you trying to accomplish here exactly?
paloppa 的回复
于 2018 年 10 月 27 日 5:38上午
It's mean popular film in the cinema. i have a list of the film. Is it possibile have a list of series TV? obviously this TV series in not watched in the cinema but by the people
paloppa 的回复
于 2018 年 10 月 27 日 6:01上午
and how can use this search function in my project? i'm trying to do an app in c# with xamarin in visual studio. Is there a guide that i can follow for do this?
Travis Bell 的回复
于 2018 年 10 月 27 日 11:41上午
I'm not 100% clear what you're looking for but you can use any one of the following methods that might get you what you want:
I am not able to provide support for any coding specific issues. There's 3 decent API libraries for C# that I'm aware of:
Which you could use or, you might have to ask your question over at a place like Stack Overflow.
paloppa 的回复
于 2018 年 10 月 30 日 6:52上午
Thanks for your answers. I have another question: there is a query ,like search film query, for the TV series? i want to do the same search for the film, with the tv series
Travis Bell 的回复
于 2018 年 10 月 30 日 10:07上午
Yes, /search/tv.
If you are wanting to search more than one media at a time, look at /search/multi.
paloppa 的回复
于 2018 年 11 月 02 日 7:03上午
Thanks a lot.
I have another question.
When i show all the title, and the user click in one of the title, i want start a new activity where it shows all the film details.
How can i do this? have i do an another json call with the search function with the title, or is there a method that i can know the id of the item clicked and do the query with this id?
Travis Bell 的回复
于 2018 年 11 月 06 日 3:42下午
The general workflow you're describing is outlined here.
paloppa 的回复
于 2018 年 11 月 07 日 6:15上午
is it possibile find a search by id for the tv series?? if yes how? i don't find the query
Travis Bell 的回复
于 2018 年 11 月 09 日 10:13上午
Sure:
paloppa 的回复
于 2019 年 01 月 14 日 5:17上午
Thank you man for the answer, thanks a lot!!