1

Java-based Android application -> change to Scala

view story
linux-howto

http://stackoverflow.com – I have a Java Android application which I want to change to Scala. I have many fragments and I want to know what is the best way to do this in Scala. This is my Java fragment class MyFragment: public class MyFragment extends Fragment { private WebView myWebView; private TextView myTextView; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View myView = inflater.inflate(R.layout.my_view, container, false); myWebView = (WebView) myView.findViewById(R.id.my_webview); myWebView.loadUrl( (HowTos)