Back to project page Buckets.
The source code is released under:
Apache License
If you think the Android project Buckets 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 ru.noties.buckets.sample.ui; /* ww w .ja v a 2 s . c om*/ import java.util.Date; import ru.noties.buckets.Bucket; /** * Created by Dimitry Ivanov (mail@dimitryivanov.ru) on 28.12.2014. */ public class MainBucket extends Bucket<MainController> { private CharSequence mData; public CharSequence getData() { return mData; } public void createData() { mData = "Activity data, created at: " + new Date(); } @Override protected void onCreated() { } @Override protected void onRecreated() { } @Override protected void onDestroyed() { } @Override protected void onInvalidated() { } }