-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AndroidTV Support #17
Comments
That sounds great! I also thought about that, but never actually did it, because I have no AndroidTV device and testing on my phone doesn't seem right. If you have any questions you can PM me wherever you like or continue the discussion here. |
Answering myself after googling:
So yes, this would be a most welcome addition. |
I luckily got an Nexus Player before they took it out of their store :) |
That sounds great, looking forward to it. I'll look into the tv architecture and the specific apis in the meantime. |
Awesome ! From what I can tell it looks like they've got a "Main" Activity which is basically a layout with a BrowseSupportFragment inside. It seem like this BrowseSupportFragment is responsible for adding the side navigation headers which are linked to certain "Rows" or "Pages" and it does provide the logic for spawning addition support fragments. It seems like A LOT of it is tied to code rather than layout XMLs. The samples are not really helpful either because they all use Deprecated classes and libraries. But I am looking forward to work on this feature and improve my Kotlin skills. BTW, awesome architecture for the dependecies, never saw it like that, I'll probably adapt that for my own projects. |
Cool! Starting with Java and converting these files to Kotlin has helped me too. The Kotlin plugin also has an option to convert Java to Kotlin which you can compare to see what is happening. The Decompile Kotlin to Java option is also helpful to see what is generated under the hood. Once you have Kotlin code remember to run the |
Awesome! Will do! |
Since there has been no activity on this for quite some time, I'm closing this issues for now. |
It took a year 😄 . I finally moved my TV from the living room into my bedroom so this topic just came to mind again. Maybe this time I will stick around and push this through because now I actually have a proper TV to use it on. Sadly they made the leanback tv framework even more complex and weird compared to a year ago. I'm probably better off just starting from scratch again. I will report if I make any noticable progress. PS: Since last year they published x64 tv system images for the emulator which work quite well. 🎉 |
Cool, looking forward! Let me know if I can help you with anything :) |
Is it normal that the repository requires the latest preview build ?
|
Yes, I also use this project to explore the latest features and technologies in the Android world, so Android Studio and most libraries are preview versions. |
@Graphicscore someone already implemented this. But as it is it is already outdated. But maybe you can use some of this code. Look here for more Info |
Hi, this is more a feature request / nice to have.
I've used Proxer regularly now for a long time and would like to contribute back to the community.
Since animes can be enjoyed the most on big TV screens I would like to implement AndroidTV support for the Proxer android app. I know that a lot of people don't have an AndroidTV compatible device (yet) but seeing the development and engagement that the google development team is putting into the TV version I feel like they got a device coming up either with the next OS (P) or Q. No need to mention all the devices that are already running on ATV.
Since the android TV development isn't widely spead yet it will probably take a fair amount of time and tinkering to get it going properly. I'm not yet really familiar with RxJava and Kotlin which are used a lot in this project but I will try my best to match your coding style and the high quality of code that is maintained in this project.
I forked the repository and will develop on a side branch. If this feature is not wanted at all or already planned to be developed my somebody else please let me know.
Progess :
General
TVActivity
AnimeBrowseFragment
NewsFragment
AnimeDetailsFragment
VideoPlaybackFragment
The text was updated successfully, but these errors were encountered: