Posts

Showing posts from February, 2015

java - Remove border from JScrollPane -

i have jlist object in jscrollpane , jscrollpane inside of jpanel . jlist memberslist = new jlist(); jpanel memberspanel = new jpanel(); memberspanel.setlayout(new borderlayout()); jscrollpane scrollpane = new jscrollpane(memberslist); memberspanel.add(scrollpane, borderlayout.center); i tried set borders of memberslist, memberspanel , scrollpane null. tried: border emptyborder = borderfactory.createemptyborder(0, 0, 0, 0); memberslist.setborder(emptyborder); memberspanel.setborder(emptyborder); scrollpane.setborder(emptyborder); but somehow can't remove border. doing wrong? the scroll pane has viewport can have own border. scrollpane.setviewportborder(null);

optimization - Jekyll compiling seems WAY too slow -

i'm building site jekyll first time. i'm loving far; problem exceedingly long build times. right now, when run jekyll build , takes 30 seconds generate site. 30 seconds might not seem lot, @ moment, the entire site has 1 post, 8 includes, 8 layouts, , 2 small plugins . haven't abused liquid tags knowledge, , if remove plugins, still takes long. when searching answer, can find people have huge blogs hundreds of posts. since have 1 post, that's not issue - there's else going on here make take long. here site's github repository: https://github.com/keithpickering/kpd/ my questions follows: what possible reasons jekyll building when doesn't have build? if jekyll inherently slow, there simple way compile css , js separately, leaving jekyll deal markup? right have jekyll ignore "css" , "js" folders, instead having grunt minify, prefix, , compile files automatically. i've never used grunt before have no idea if sort of absurd...

c# - Multithreading application versus active sql session -

Image
have c# application running multi-threaded ( parallel.foreach ) 16 maximum concurrent threads. can see working fine because performance of execution time faster. however, wondering why showing less 16 active sessions on sql server monitor tool? bizarre part same application (similar set except using sql server 2012 instead of our sql sever 2008r2) running on our customer's machine, same tool report more 30 active session monitored. since can't access our customer's enviornment, wondering: 1. why there few active sessions found (usually less 5) on sql server while have 16 threads running concurrently? 2. why there more 30 active sessions reported on our customer machine? claim system isolated has our application access @ moment... first 1 chart when running on environment: vs chart when running on our customer's environment: comment, , here trying provide more information: i. confirmed application running single instance, , console desktop application. ii...

ruby on rails - active_for_authentication? not working -

i using active_for_authentication? allow active users login through devise. it's not working. my controller: class dashboarduserscontroller < applicationcontroller def active_for_authentication? super && self.deactivated_ind end def inactive_message "sorry, account has been deactivated." end my model: class dashboarduser < activerecord::base devise :database_authenticatable,:rememberable, :trackable, :validatable, :timeoutable attr_accessor :login def self.find_first_by_auth_conditions(warden_conditions) conditions = warden_conditions.dup if login = conditions.delete(:login) where(conditions).where(["username = :value or lower(email) = lower(:value)", { :value => login }]).first else where(conditions).first end end end my user table: t.string "deactivated_ind", limit: 1 t.date "deactivated_date" by using deactivated_ind y / n check user active / inactive...

ios - NSString to NSUUID convert -

how convert nsstring nsuuid ? got answer conversion of, nsuuid nsstring vice versa not found.like string @"12033030303" alloc nsuuid using string appreciated @"12033030303" not possible convert nsuuid, universally unique identifier has specification (for example @ wikipedia ), means random string can't converted nsuuid. initwithuuidstring should method you're looking for, works if uuid valid. nsuuid *uuid = [[nsuuid alloc] initwithuuidstring:@"a5d59c2f-fe68-4be7-b318-95029619c759"];

for loop - Populate a series of textboxes with random values in Access - run time error 3021 No current record -

i'm trying populate series of textboxes random value column. first textbox filled returns run time error 3021 - no current record. checked values , record i'm trying retrieve doesn't exceed recordcount table. debug colours rs.move randomrecord. dim rs dao.recordset dim recordcount long dim randomrecord long set rs = currentdb.openrecordset("select * besede") rs.movelast rs.movefirst recordcount = rs.recordcount - 1 msgbox recordcount randomize dim integer = 1 10 randomrecord = int((recordcount) * rnd) rs.move randomrecord controls("t" & i).setfocus controls("t" & i) = rs!test next you moving cursor current position, trying read record @ end of recordset. use rs.movefirst before rs.move randomrecord to move beginning of recordset. check office dev center more background information on recordset.move .

vsts - Migrate from tfs on prem to visualstudio.com fails with error OH-SCM-009 / TF14092 -

i'm trying migrate tfs on prem visualstudio.com. after while working (126/464 changesets), stops error: oh-scm-009: error occurred while sync. tf14092: item $/xyz/xyz/xyz/xyz.sln cannot changed. parent of item has pending delete must checked in first. @ com.opshub.eai.core.adapters.oimscmadapter.sync(oimscmadapter.java:371) i tried on 2 different computers, , stops changeset. retry of doesn't work either. how can fix it? regards, alex for else facing issue. issue situation conflict used on come on file parent deleted. , when done in tfs, tfs server automatically discards changes post deletion. thus, opshub utility handles such cases. has been resolved in v1.1.0.004 , available public in mid-december.

javascript - MVC & jQuery DatePicker - Remove Date Pattern -

i'm struggling datepicker voodoo , can't seem crack it. given model date field like: [display(name = "mydate", description = "please provide date")] [datatype(datatype.date)] [required(errormessage = "you need specify date")] [displayformat(nulldisplaytext = "")] public datetime? mydate { get; set; } i have editor template: @model datetime? @{ @html.textbox("", (model.hasvalue ? model.value.tostring("d") : string.empty), new { @class = "datefield date-editor", type = "date" }) } the date pickers setup following jquery: $('.date-editor').datepicker({ changemonth: true, changeyear: true, dateformat: 'yy-mm-dd', yearrange: '-100:+0', defaultdate: '', autosize: true }); how prevent textbox containing pattern? date field in ui contains following string: dd/mm/yyy

mysql - How to write REST web service in PHP for Android application backend? -

currently, developing android application involves client server architecture. said me have write rest web service in php end communication. @ time didn't know restful architecture , etc.. in last 3 days, learned rest web services , tried many tutorials. then, tried code tutorials , so. have tried far follows: i have 3 php files, database named xyz , table named user_accounts basic user details in phpmyadmin. , have installed advanced rest client on browser. code in www directory of wamp server under folder named my project . so, let me show code: 1. db_connect.php <?php define("server", '127.0.0.1'); define("user", 'root'); define("password", ''); define("db", 'xyz'); $con = new mysqli(server,user,password,db); if ($con->connect_errno){ die("database connection failed"); ...

Whoops! There was a ...previewing this pdf document android -

my application has list of pdf inside listview. pdf viewed inside application using webview open google docs sheet. works fine first opened pdf, when going , opening pdf got error "whoops! there problem previewing document" . there kind of limitation on opening pdf using google sheet. if so, how can full rights open pdf want. can please. here code. //---you need prevent webview // launching browser when url // redirection occurs--- wv.setwebviewclient(new callback()); wv.getsettings().setjavascriptenabled(true); wv.getsettings().setjavascriptenabled(true); wv.getsettings().setallowfileaccess(true); wv.loadurl("https://docs.google.com/gview?embedded=true&url=" + sharepreferencecontroller.getprefsavepdfinfo()); try increasing version/compatibility of pdf. worked me. edit: believe more of size issue. when changed version (from acrobat 9.0 10.0) had optimized pdf making smaller file. larger files of same version sti...

db2 - Visualizing data model using data Studio 4.1 -

i want generate er - diagram existing database. created .dbm file in diagram see table names in row. not able see columns , relationship between tables. how can see er- diagram. i got answer in data studio forum. columns can displayed changing properties view. click blank area of diagram , in filtering tab of properties , change display options. see relationship right click on blank space , click on show implicit relationships.

node.js - Using multer in memory buffer with GraphicsMagick -

i'm trying resize image uploaded in memory, using multer on express file. while can access req.files.picture.buffer , shows content, when pass buffer gm receive enoent. code follows: var buffer = req.files.picture.buffer gm(buffer) .options({imagemagick: true}) .resize(300) .tobuffer('png', function (err, buffer) { if (err) return handle(err); console.log('done!'); }); return res.sendstatus(200); either using tobuffer or write output same enoent. missing something? according gm buffer example , need supply filename data. example: gm(buffer, 'foo.jpg')

C++ Why does my code give the desired results on Ubuntu but has undefined behavior on Windows 7 -

i taking c++ course in university, every week required write program given specifications. it's basic tasks resolve around topics discussed in class week before. discussing pointers arrays , dynamic memory naturally week's program using arrays , dynamic memory allocation. to break down, program asked write supposed take random user input (no white spaces, random characters) , divide user input in 3 categories: upper case, lower case , special characters. the method used not efficient 1 job, considering libraries allowed use iostream , cmath, here comes problem. in class wrote program in no time, compiled , ran straight away no issues. if give user input such aaghc4 have output ac agh 4 so went ahead , downloaded program university folder on private machine @ home work on little, make more efficient practice. when compiled (unedited , original) .cpp on windows machine it's output random, undefined behavior. both in class , @ home use g++ compile files, @ home run w...

java - empty DB joincolumn after cascade insert in bidirectional relationship -

i have 2 classes connected bidirectional manytoone / onetomany relationship: member in classa: @onetomany(cascade = cascadetype.all, orphanremoval = true, mappedby = "classa") private list<classb> classblist = new arraylist<classb>(); member in classb: @manytoone @joincolumn(name = "classa_id", referencedcolumnname = "id") private classa classa; when call classa.getclassblist().add(newclassb); new db entry classb created, db column classa_id remains null. of course entities defined in persistence.xml. i appreciate help, maybe it's little detail. thanks bigguy class looks now: @onetomany(cascade = cascadetype.all, orphanremoval = true) @joincolumn(name = "classa_id", referencedcolumnname = "id") private list<classb> classblist = new arraylist<classb>(); @manytoone private classa classa the annotation @joincolumn indicates entity owner of relationship. in case, owner class...

ios - GMSMapView GroundOverlay Cover Entire MapView Bounds -

i have setup uiview display specific region of map using google maps. want add image overlay on top of selected region dont know how calculate correct coordinates this. have set map center coordinate, overlay needs northwest , south east coordinates. can please? trying put image of race track on roads. below code far: - (void)viewdidload { [super viewdidload]; // additional setup after loading view, typically nib. gmscameraposition *camera = [gmscameraposition camerawithlatitude:14.5809268 longitude:120.975319 zoom:16.5 bearing:90 viewingangle:0]; // indicating map frame bounds mapview_ = [gmsmapview mapwithframe:self.mapviewonscreen.bounds camera: camera]; mapview_.mylocationenabled = yes; // add subview mapview [self.mapv...

c++ - Why codevision avr ignores some statements in "if" operator? -

now works should. well,certanly mistake,but without of questions itwould difficult rid it. if ((key==11)^(key==13)^(key==16)^(key==17)) //this // dirty hack style string needed fix { switch (key) { case 11: { mode=0x01; break; } //plus case 13: { mode=0x02; break; } //minus case 16: { mode=0x03; break; } //multiply case 17: { mode=0x04; break; } //divide } if (mode) { buffer=atof(display); firstop=1; first=1; redraw=1; //and delete goto } } you never reset mode, pressing once keep doing selected mode other key. you define no default statement in switch statement try play compiler optimization switche...

internet explorer - This organization's certificate has been revoked. IE 11 -

this organization's certificate has been revoked. security certificate problems may indicate attempt fool or intercept data send server. i try fix issue through tools --->internet options--->advanced ----->under security click check certification revoked , publisher check box still browser not been responding changes getting same problem did has come across same problem. i not sure if understand problem here, may want try re-starting hub , nodes -trustallsslcertificates switch turned on. documentation says "forces selenium proxy trust ssl certificates. doesn't work in browsers don't use selenium proxy." e.g. java -jar selenium-server-standalone-2.44.0.jar -trustallsslcertificates true -role hub

ios - Apple's iAd doesn't look good on device/simulator -

Image
this how iad looks on device/simulator. it's happens every time. actual size of banner right, content size wrong (you can see on picture). maybe, when app goes live problem fixed? help, thanks. my app using cocos2d v2.1, landscape only. this createbanner code: _adbannerview = [[adbannerview alloc] initwithframe:cgrectzero]; _adbannerview.delegate = self; cgsize sizetofit = [_adbannerview sizethatfits:[[ccdirector shareddirector] view].frame.size]; [_adbannerview setframe:cgrectmake(([[ccdirector shareddirector] view].frame.size.width - sizetofit.width)/2.0f, 0, sizetofit.width, sizetofit.height)]; [_adbannerview setautoresizingmask:uiviewautoresizingflexiblewidth]; cgrect frame = _adbannerview.frame; frame.origin.y = -frame.size.height; frame.origin.x = 0.0f; _adbannerview.frame = frame; appcontroller * mydelegate = (((appcontroller*) [uiapplication sharedapplication].delegate)); [mydelegate.navcontroller.view addsubview:self.adbannerview]; ok, solv...

c# - Signing SOAp Message with XMl Signature and WCF -

currently i'm implementing client in .net consume soap service written in java (i'm not sure). soap envelope has signed in specific way, , has been nightmare trying so. this example of envelope expecting: <?xml version="1.0" encoding="utf-8"?> <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"> <soapenv:header> <wsse:security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustunderstand="1"> <ds:signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:signedinfo> <ds:canonicalizationmethod algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></ds:canonicalizationmethod> <ds...

opencart - Adding links directly to downloads to order.tpl -

i installed (fresh) opencart version 1.5.6.1. i have been following advice given @ post: http://forum.opencart.com/viewtopic.php?t=11056 how add links directly items downloaded opencart. i have updated order.tpl looks (below). when create new order, order confirmation email not going out @ after add code recommended post above. when use original version of order.tpl file email goes out no problems. new opencart , php, can't see why not working. can give me hints might need @ working? appreciated. thanks! <!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/1999/rec-html401-19991224/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title><?php echo $title; ?></title> </head> <body style="font-family: arial, helvetica, sans-serif; font-size: 12px; color: #000000;"> <div style="width: 680px;"...

jquery - Bootstrap 3 Make First Tab Active By Clicking From Outside Button -

can please let me know how can make bootstrap first tab active again clickicking button outside of tab-navs? i alredy tried this <!-- nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#home" role="tab" data-toggle="tab">home</a></li> <li role="presentation"><a href="#profile" role="tab" data-toggle="tab">profile</a></li> <li role="presentation"><a href="#messages" role="tab" data-toggle="tab">messages</a></li> <li role="presentation"><a href="#settings" role="tab" data-toggle="tab">settings</a></li> </ul> <!-- tab panes --> <div class="tab-content"> <div role="tabpanel" class="t...

ios - iAd showing a white banner -

i implemented in-app purchase remove ads in app. worked first time tried after ran app on phone few more times started show white ad banner instead of hidding ad banner used to. here code startscreen.m of app purchaseviewcontroller.m buy iap remove ads. got warning saying using 10 instances of adbanner though have them removed whenever view disappers. thank , help. // //startscreen.m // @interface startscreen () { bool _bannerisvisible; } @end @implementation startscreen - (void)viewdidload { //ads self.adbanner.delegate = self; } - (void)viewwilldisappear:(bool)animated { [self.adbanner removefromsuperview]; self.adbanner.delegate = nil; self.adbanner = nil; } - (void)bannerviewdidloadad:(adbannerview *)banner { // check remove ads iap nsuserdefaults *prefs = [nsuserdefaults standarduserdefaults]; if ([prefs boolforkey:@"removeads"] == true) { self.adbanner.hidden = yes; _bannerisvisible = no; } else if (...

java - Feed a Scanner via String -

heres basic goal: convert program uses scanner , keyboard input program uses scanner , java args input. done programatically variety of programs, i'd make few , small changes actual program itself. i'm able changing scanner scanner = new scanner(system.in); scanner scanner = new scanner(args[0]); . now can seperate each argument space in args[0] , program runs fine, if doesn't use scanner.nextline() . scanner.nextline() used, scanner munches entire string , breaks program. i can't figure out workaround without changing program structure (removing scanner.nextline() s. there maybe sort of character/sequence stop scanner.nextline(), or process entire string? thanks edit: initial idea give scanner string array , have go through that, index index, regardless of method used ( next , nextint , nextline ). perhaps possible? look @ apache commons cli , better trying "convert" (kludge) program using scanner. you can insert newlines in command ...

Facebook API - getting a token that never expires -

i generate token never expire. i have "manage_pages" permission, , if user has "fanpage" token never expire. but if user doesnt have fanpages created, token expire after 2 months. i using newest api (php sdk). this login: $session = $helper->getsessionfromredirect(); $token = $session->gettoken(); and after that, doing that: $accounts = new facebookrequest($session, 'get', '/me/accounts?fields=picture,access_token,name'); would nice if of have idea how can token never expires allthough user hasnt fanpage the tokens valid forever app access tokens , extended page access tokens . can´t user token valid forever, , never need anyway. if user did not visit app more 2 months, not use app anymore. can refresh user token though, using fb.getloginstatus whenever user visits app. here´s need know access tokens: https://developers.facebook.com/docs/facebook-login/access-tokens/ http://www.devils-heaven.com/facebook-...

regex - Trying to match a partial name of file in text of file + additional text -

hi i'm trying match partial name of file in text of file + additional text. basically i've got files named this: pieceiwanttomatch_don't_care_about_this.txt and i'm trying match first 7 letters of file name plus string in file , i'm not having luck. here's have far: use strict; use warnings; use file::path qw(make_path remove_tree); $calls_dir = "ask/parsed/html/"; opendir(my $search_dir, $calls_dir) or die "$!\n"; @files = grep /\.txt$/i, readdir $search_dir; closedir $search_dir; #print "got ", scalar @files, " files\n"; #my %seen = (); $file (@files) { %seen = (); $current_file = $calls_dir . $file; open $file, '<', $current_file or die "$file: $!\n"; while (<$file>) { #if (/phone/i) { chomp; #if (/phone\s*(.*)\r?$/i) { #if (/^phone\s*:\s*(.*)\r?$/i) { #if (/contact\s*(.*)\r?$/i) { #if (/^*(.*)team\s*(.*)\r?$/i) { print substr(...

python - Security for payment processing API call -

i trying api call able deposit money account. wondering if following procedure acceptable, security-wise. 1) user enters credit card information sent braintree. 2) store customer_number in our database user's payment info. 3) allow user enter in following api call add balance. need enter in cvc number again confirm. url = 'https://example.com/add_to_balance/' requests.post(url, data = { api_key = '123456', api_secret = '131313', cvc = '1234', amount_in_usd = '4.00' }) would following api call add $4.00 user's account ok. if not, added improve this? ultimately, i'd user able add balance via api our server, , not in web form.

Missing image filename ImageMagick convert running from Node.js only -

i built little script first montage 8 tiles together, scale down , has distort image. everything goes according plan until distorting part. this.distort = function(filename) { var distortdeferred = q.defer(); var totalwidth = width * waves * 2, totalheight = height * waves * 2; var params = [ filename, '-matte', '-virtual-pixel', 'transparent', '-distort', 'perspective "{left},{top} {newleft},{top} {left},{bottom} {left},{bottom} {right},{bottom} {right},{bottom} {right},{top} {newright},{top}"'.assign({ left: 0, top: 0, newleft: totalwidth * distortpercentage, bottom: totalheight, right: totalwidth, newright: totalwidth - totalwidth * distortpercentage }), filename ]; im.convert(params, function() { console.log(arguments); }); return distortdeferred.promise; }; this following function wil give error: error: command failed:...

mysql - How to provide Indexing in Excel sheet in PHP -

i can import sql database excel sheet in php. how can place index on sheet take me home page of excel sheet? indexing possible in excel sheet using phpexcel? assuming mean hyperlink web site: $objphpexcel->getactivesheet() ->setcellvalue('e26', 'www.phpexcel.net'); $objphpexcel->getactivesheet()->getcell('e26') ->gethyperlink() ->seturl('http://www.phpexcel.net'); $objphpexcel->getactivesheet()->getcell('e26') ->gethyperlink() ->settooltip('navigate website'); if mean hyperlink worksheet within same workbook: $objphpexcel->getactivesheet() ->setcellvalue('e26', 'worksheet xyz'); $objphpexcel->getactivesheet()->getcell('e26') ->gethyperlink() ->seturl('sheet://'<my destination worksheet name>'!a1'); $objphpexcel->getactivesheet()->getcell('e26') ->gethyperlink() ->set...

java - Use Guava Cache to persist data to a hard disk -

i new guava cache. how create following in cache? save data in memory normal. when size of cache on given number, persist data in cache in configurable file on hard disk. this helpful: extending guava caches overflow disk

get all posts json format in wordpress -

i trying fetch posts follows: http://myexample.com/wp-json/posts but not of results fetched.i tried adding ?numberposts=-1 url can fetch of them still nothing happened. concerning settings->reading, it's set 4 because that's should appear in website don't wish change it. any ideas how can proceed?

c - Makefile: File doesn't exist when the file does exist -

# arquitectura cc := arm-none-eabi- # compiladores gcc :=$(cc)gcc :=$(cc)as libc :=$(cc)ar # linker linker :=$(cc)ld # flags compilação flagdebug :=-g cflags :=-c -mapcs #-wall cdepend :=-mm -mf libflag := rcs ldscript := -t ldlibdir := -l ldliblibs := -l # $@ -> nome alvo .. $^/s? lista de dependencias .. $* contêm o valor de % .. $< contêm primeira dependencia # pastas depdir := depends/ sourcedir := source/ sourcecdir :=$(sourcedir)c/ sourceadir :=$(sourcedir)assembly/ libdir := library/ headdir := header/ objdir := object/ # dependencias sourcec := $(wildcard $(sourcecdir)*.c) sourcea := $(wildcard $(sourceadir)*.s) objc :=$(patsubst $(sourcecdir)%.c,%.o,$(sourcec)) obja :=$(patsubst $(sourceadir)%.s,%.o,$(sourcea)) header :=$(wildcard $(headdir)*.h) libl = $(wildcard $(libdir)*.a) #libl = $(wildcard $(libdir)lib*.a) depend :=$(patsubst %.o,$(depdir)%.d,$(objc)) script := $(wildcard *.ld) lib = # ficheiros de output fichdebug := teste.axf fichrelease :...

html - Layout breaks when image is missing -

i have following piece of html code: <ul> <li> <article> <header> <h2><a href='#'>wall-e review</a></h2> <img src='images/featured01.jpg' alt="wall-e"> </header> <time datetime="2011-10-10"> 10 octomber 2011 </time> <p>what if mankind had leave earth, , forgot turn last robot off?</p> </article> </li> <li> //contains <article> similar first 1 </li> <li> //contains <article> similar first 1 </li> </ul> i have style html code without changing using css 3 articles appear next each other. <img> elements should above <time> elements , <time> elements should above <p> elements. this: with...

string - Access data on the stack -

i'm planning write program in assembly searches substring in string , writes words contain substring. example: string: "adgfh asdsd zxc dbasdas" substring: "as" output: "asdsd dbasdas" the idea use 1 register ( dx ) , stack store data. i'm pushing string , substring stack. main question - possible access data under top element in stack without popping data? want use dx remember spaces between words , compare each letter in string 1st letter in string, , if it's same letter increment pointer in both string , substring point @ next letter in words , redo comparing...etc. yes, can access items on stack because stack memory. if in 16 bit mode, can not use dx that, need bx , si , di or bp . example: mov bx, sp mov bl, ss:[bx+10] note need ss segment override except bp . in 32 bit mode can use esp directly, such as: mov dl, [esp+10] ps: that's strange project first program ;)

android - Arrayadapter thinks a list of 45 items only holds 8 repeating items -

i have listview backed custom arrayadapteri wrote. every listview item contains textview , seekbar. idea behind user supposed able move every seekbar , application stores value of seekbar (so seekbars can restored proper values if user exits fragment). these values stored in hashmap key name of competence (aka textview of element) my issue this: listview holds 45 elements, however, after 8th element, adapter seems think listview @ starting point. example: if move seekbar of 9th element , proceed scroll up, 1st element them have value gave 9th element. listview populated correctly (or seems anyway) though textviews of every element different. here custom arrayadapter: public class competencejudgementlistadapter extends arrayadapter<string[]> { private context mcontext; private arraylist mdata; int mlayoutresourceid; arraylist<competenceitem> mcompetenceitemlist; hashmap<string, integer> valuelist; public competencejudgementlistadapter(context context, int r...