Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Perry
@pfn
@n-pafitis
azfar
@azfar75_twitter
I cannot get the properties to show up in android studio
what to do?
Perry
@pfn
what properties
Sushrita
@sushrita
CAn anyone help me how to make horizontal recyclerview flip paging lik e instagram videos right flip?
preeti13456
@preeti13456
This message was deleted
BaghdadKh
@BaghdadKh
Hi , I have this project : https://github.com/naseem91/Android4Scala.git
and I need to add buttons with the text view using layout.xml , but I can't find good example
Perry
@pfn
?
BaghdadKh
@BaghdadKh
@pfn if the ? for me , I mean how to design the layout for android in scala code or by using the layout.xml file with main scala ?
BaghdadKh
@BaghdadKh
Another question , when I install my application(from my scala code ) on my mobile , the app is blinking and doesn't run successfully , what is suggestion for the problem ?
Perry
@pfn
BaghdadKh, need to be more specific
you can add it in layout.xml and used TypedView stuff, the sample test cases should have examples
Naseem Mahasneh
@naseem91

Hi ! any one know the reason for this error :

Error:(18, 20) not found: value R
    setContentView(R.layout.main)

?

Ondra Pelech
@sideeffffect
hello @here
can we please get scala-android/sbt-android#332 merged, so that we have working CI? :)
Ondra Pelech
@sideeffffect
btw I deleted a stale github cache
https://help.github.com/en/articles/about-anonymized-image-urls#removing-an-image-from-camos-cache
so now the README shows nice up to data badge with 1.7.10
Ondra Pelech
@sideeffffect
Travis CI is now green :tada: !!!
Yan Doroshenko
@YanDoroshenko
Hey guys. Can someone please help me? I'm trying to use sbt-android plugin with SBT 1.3.3 and it can't find the plugin
soc
@soc
@YanDoroshenko there is no support for SBT 1.x. you need to use SBT 0.13.
fiatjaf
@fiatjaf
what do I do if I hit an [error] java.lang.IllegalArgumentException: Could not determine java version from '11.0.5'.
I'm trying to migrate from android-studio/gradle
Roberto Leibman
@rleibman
hi! Starting a new android project (actually, it'll be part of a larger project written in akka on the server, scalajs on the client and I need an android portion as well) . So what's the status of scala on android? 6 years ago I was able to use scala successfully on android, but I imagine time has changed, and it doesn't seem like the community is very active on android. Where are we? What's the toolchain? which versions of sbt/scala/java should I use?
Roberto Leibman
@rleibman
... crickets
Omid Barat
@obarat
chirp chirp
Perry
@pfn
@fiatjaf hrm, java 11 isn't supported probably -- dunno if that's something fixable; I haven't been maintaining
@rleibman the community (here) is not active, obviously :(
Roberto Leibman
@rleibman
So nobody is building android applications with scala then?
Perry
@pfn
I haven't been tracking to see
Roberto Leibman
@rleibman
Any recommendations for what to use instead? give up and use kotlin?
Though that won't address ios.
Gregg Hernandez
@gregghz
IMO without sbt 1.x support and scala not really supporting android as a target (only really supports jvm, native, and js), building android projects with scala is an uphill battle. It's a lot of fun, but it comes with a lot of downsides. It also makes it harder to attract experienced android developers.
Roberto Leibman
@rleibman
True. I'm really looking forward to seeing what comes out of this group
Though it's been 6+ months and I haven't heard a peep, I tried contacting the presenter on linkedin for info and haven't received an answer.
I'm already doing a lot of work with scalajs and react, so taking the next step and using react native sounds like a solid plan.
Perry
@pfn
interesting
Perry
@pfn
oh, but react native, meh
Roberto Leibman
@rleibman
Why the problem? you're coding scala, and react isn't that ugly.
Gregg Hernandez
@gregghz
just another layer on top of the jvm. With react native, the jvm is running a webview and the webview is running your code. Scala already targets the jvm, with react native you have to target js (scalajs). Which works just fine, but feels like extra layers when scala is already a JVM language. You also only really get access to APIs that react-native exposes and not the actually native java APIs from scala code. Writing scala targeting the jvm gives you full access to all android APIs.
Perry
@pfn
yeah, too many layers of abstraction when it should work natively
kamilwojdylo
@kamilwojdylo
Hello everyone, it's my first time with Scala on Android I would like to ask you can I use latest version of Scala, sbt and android build tools or do they have to be specific versions mentioned on https://scala-android.org/quickstart/ ? I can see that the latest release was on 24th of February 2017 which is a long time ago is this project maintained and keept updated to never Android versions?
Gregg Hernandez
@gregghz
sbt 0.13.x and scala 2.11 are required i believe.
Anton Kumaigorodski
@btcontract
hey, currently trying to migrate my project, following quickstart section gives me java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema once I type gen-android com.mypackage.test test, it does manage to create a project structure despite this but then running android:run gives [error] No such setting/task. Any hint on how to fix this?
kamilwojdylo
@kamilwojdylo
@btcontract I had similar poblems to fix then I had to install sbt version 0.13.x and Java from Oracle not OpenJDK
Anton Kumaigorodski
@btcontract
@kamilwojdylo sadly that did not help
exactly the same error
Perry
@pfn
@btcontract sounds like you need to make sure you're on scala 2.11 as well
also java8 or java9