Android refresh current activity -
i want program android app refresh current activity on buttonclick. have 1 button on top of activity layout job. when click on button current activity should reload again - device restart.
thanks
public void onclick (view v){ intent intent = getintent(); finish(); startactivity(intent); }
Comments
Post a Comment