Howard Liberty

Results 195 comments of Howard Liberty

You can actually swap the question / answer of all cards in AnyMemo. First clone your db file (In second tab, long click db file and select "Clone") so you...

Emmmm, I see the limitation. I will see what I can do to lift the limitation of one image. Thank you for reporting the issue.

Yes. We are on the same page. If you long click the image, only the first image will be opened. I can reproduce the issue myself. Btw, the latest anymemo...

Comment [#1](https://code.google.com/p/anymemo/issues/detail?id=347#c1) originally posted by helloworld1 on 2015-01-21T07:32:38.000Z: The problem is caused by retrieving the learning data. But I agree the data should be retrieved on demand.

Comment [#2](https://code.google.com/p/anymemo/issues/detail?id=347#c2) originally posted by helloworld1 on 2015-01-21T18:49:58.000Z: Do you mean these statements in CardDaoImpl.java? for (Card c : cs) { learningDataDao.refresh(c.getLearningData()); categoryDao.refresh(c.getCategory()); So what would be the best solution?...

Comment [#3](https://code.google.com/p/anymemo/issues/detail?id=347#c3) originally posted by helloworld1 on 2015-01-21T19:00:12.000Z: Yes, you are right the refresh takes quite some time to load 2 times more time to refresh these values. Each refresh...

Comment [#4](https://code.google.com/p/anymemo/issues/detail?id=347#c4) originally posted by helloworld1 on 2015-01-21T19:52:16.000Z: I don't think that callBatchTasks would help. Reason: it is just meant for update purposes... . But the easiest and best step...

Comment [#5](https://code.google.com/p/anymemo/issues/detail?id=347#c5) originally posted by helloworld1 on 2015-01-21T21:25:20.000Z: regarding my topic # 2: this would be a solution: http://stackoverflow.com/questions/11987552/ormlite-joins-or-rawquery-auto-mapping (with regards to the Dao.getRawRowMapper()solution) But we have to take into account,...

Comment [#6](https://code.google.com/p/anymemo/issues/detail?id=347#c6) originally posted by helloworld1 on 2015-01-21T22:13:35.000Z: regarding the object cache ( http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_5.html#Object-Caches ): the solution to keep the instances really in the memory would be: ``` cardDao.setObjectCache(ReferenceObjectCache.makeSoftCache()); learningDataDao.setObjectCache(ReferenceObjectCache.makeSoftCache());...

Comment [#7](https://code.google.com/p/anymemo/issues/detail?id=347#c7) originally posted by helloworld1 on 2015-01-21T22:55:32.000Z: I think using join could improve the performance. I am not exactly sure how to do the object mapping automatically though. I...