Comments (3)
What do you mean by number of records ? And when you say data model, you mean contentprovider ?
from datadroid.
foxykeep,
Yes I mean the contentprovider. sorry for the confusion :) any idea?
Best Regards,
Chris
from datadroid.
Easiest way is to do a query with the right table without any where clause. and then call getCount on the returned Cursor.
As you don't have any where clause, you get all the elements in the cursor and getCount() will give you the number
from datadroid.
Related Issues (20)
- BadParcelableException when reading a Parcelable from a Request inside an Operation HOT 2
- Trying to use datadroid and sliding menu HOT 3
- Endless ListView HOT 5
- Array of values to parameters
- Httpurlconnection request with PUT method with cookies gives session invalid error. HOT 12
- UI isn't compatible with small screen
- Phone (CRUD) Sync issue
- Delivering result of network call to another activity. HOT 2
- how to apply migration to existing application HOT 1
- EOFException on some requests HOT 4
- SSL method in Android 2.2 HOT 2
- Sending Json Object as parameter in post method HOT 1
- Why have you decided to skip the approach of ContentProvider ? HOT 1
- Datadroid with Volley required! HOT 1
- Root for galaxy 5 HOT 1
- Send file use DataDroid
- Bug: no recycling of HttpClient HOT 3
- PoC Bug: Does not override applyBatch HOT 1
- PoC Feature: Demonstrate permissions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datadroid.