|
|
|
@ -1,7 +1,5 @@ |
|
|
|
package net.pokeranalytics.android.ui.fragment |
|
|
|
package net.pokeranalytics.android.ui.fragment |
|
|
|
|
|
|
|
|
|
|
|
import android.content.Context |
|
|
|
|
|
|
|
import android.content.Intent |
|
|
|
|
|
|
|
import android.os.Bundle |
|
|
|
import android.os.Bundle |
|
|
|
import android.view.LayoutInflater |
|
|
|
import android.view.LayoutInflater |
|
|
|
import android.view.View |
|
|
|
import android.view.View |
|
|
|
@ -29,9 +27,15 @@ import java.util.* |
|
|
|
class StatisticDetailsFragment : PokerAnalyticsFragment() { |
|
|
|
class StatisticDetailsFragment : PokerAnalyticsFragment() { |
|
|
|
|
|
|
|
|
|
|
|
companion object { |
|
|
|
companion object { |
|
|
|
fun newInstance(context: Context) { |
|
|
|
|
|
|
|
val intent = Intent(context, StatisticDetailsFragment::class.java) |
|
|
|
/** |
|
|
|
context.startActivity(intent) |
|
|
|
* Create new instance |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
fun newInstance(): StatisticDetailsFragment { |
|
|
|
|
|
|
|
val fragment = StatisticDetailsFragment() |
|
|
|
|
|
|
|
val bundle = Bundle() |
|
|
|
|
|
|
|
fragment.arguments = bundle |
|
|
|
|
|
|
|
return fragment |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|