i need add setselection method spinner using position database. i try both( in position of text) spinner.setselection(in); spinner.setselection(in,true); but shows first object in array used spinner thanks help make sure setselection() called after done spinner's setadapter() .
i have integrated unity ads android library android project. @ beginning, after calling init unityads.init(this, consts.unity_game_id, this); onfetchcompleted method of callback called , can show video , callback completion on activity. i want reload video after completion , looking method "reload", "fetch" etc. on unityads class. seems there no way this. so, have tried call unityads.init again, couldn't callback or error on logs. how can reload video ad? 1 . don't call init twice. 2 . not using isready check if ad read shown before calling advertisement.show() function. copied directly unity website, code below should show ad , wait show ad, call showad() again. [serializefield] string gameid = "33675"; void awake() { advertisement.initialize (gameid, true); } void start() { showad();//show ad } public void showad(string zone = "") { #if unity_editor startcoroutine(waitforad ()); ...
Comments
Post a Comment