Back to project page boardgame-app.
The source code is released under:
Copyright (c) 2014 Hal?sz G?bor Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
If you think the Android project boardgame-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package hu.level14.boardgameapp; /* w w w . jav a 2 s . c o m*/ import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; class StatelessFragment extends Fragment implements XmlClickable { int layoutId; public StatelessFragment(int layoutId) { this.layoutId = layoutId; } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(this.layoutId, container, false); return rootView; } @Override public void onClick(View source) { // By default, do nothing } }