Added unique text to body

This commit is contained in:
nathan 2017-01-31 01:10:35 +01:00
parent bbdb394cd2
commit 6e37be01a3

View File

@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import dorkbox.util.ActionHandler;
import dorkbox.notify.Notify; import dorkbox.notify.Notify;
import dorkbox.notify.Pos; import dorkbox.notify.Pos;
import dorkbox.util.ActionHandler;
public public
class NotifyTest { class NotifyTest {
@ -29,7 +29,8 @@ class NotifyTest {
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {
notify = Notify.create() notify = Notify.create()
.title("Notify title " + i) .title("Notify title " + i)
.text("This is a notification popup message This is a notification popup message This is a notification popup message") .text("This is a notification " + i + " popup message This is a notification popup message This is a " +
"notification popup message")
.hideAfter(50000) .hideAfter(50000)
.position(Pos.TOP_RIGHT) .position(Pos.TOP_RIGHT)
// .setScreen(0) // .setScreen(0)