public class DatasFragment
extends Fragment
Constructor and Description |
---|
DatasFragment() |
Modifier and Type | Method and Description |
---|---|
static int |
computeTotalTimePauseForId(DbManager dbManager,
long entryId,
java.lang.String date24HoursAgo,
java.lang.String dateNow)
Compute all pause time into interval
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState) |
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
public static int computeTotalTimePauseForId(DbManager dbManager, long entryId, java.lang.String date24HoursAgo, java.lang.String dateNow)
dbManager
- The database manager, avoiding to create a new instanceentryId
- entry for the wanted sessiondate24HoursAgo
- oldest boundariesdateNow
- interval newest boundariespublic void onViewCreated(android.view.View view, android.os.Bundle savedInstanceState)