Skip to main content

Android-ViewFlipperIndicator - Inspired by Jake Wharton's Android-ViewPagerIndicator Library Project

Basically the functionality is almost the same with the Android-ViewPagerIndicator by Jake Wharton, but the library project that I'm working on uses ViewFlipper. Borrowed some of his theming codes, because I can't spend so much time on styling. I shall give the honor to him because of the usefulness of the indicator functionality on the ViewPager.

I find the ViewFlipperIndicator useful since ViewPager (with the fragments as children) has problems loading in a child fragment. 

So far the Android library project is still in the alpha stage, and it only has the UnderlinePageIndicator partially working because the styling of the UnderlinePageIndicator is not fully functional. I'll add in more stuff such as the CirclePageIndicator and so on. 

Here's the link to the repository:
https://github.com/L0rDKadaj/Android-ViewFlipperIndicator

I'll keep you guys up to date on the progress when everything is in the version 1.0 stage.

Comments

Popular posts from this blog

Setting Up Android CheckStyle in Android Studio

So we all want to abide by the Android Code Style Guidelines shown in the official Android developer website here . How do we get started by helping ourselves by abiding by the Java and Android code style rules? Simple. Set it in Android Studio with the instructions below:  1. Copy the file in  https://github.com/android/platform_development/blob/master/ide/intellij/codestyles/AndroidStyle.xml 2. Paste the file into ~/.AndroidStudioPreview/config/codestyles/ (in Ubuntu) or ~/Library/Preferences/AndroidStudioPreview/codestyles (in Mac OS X) 3. Go to Settings (or Preferences in Mac OS X) > Code Style > Java, select AndroidStyle, as well as Code Style > XML and select AndroidStyle. 4. Start code inspection and see the results by selecting Analyze > Inspect Code. You will see the results of inspection on the Inspection pane at the bottom and and you will notice things that you can improve in your Java code such as Code Style Issues, Android, D

How To Reset Android Studio on Mac

Just in case you guys have trouble starting Android Studio for some unknown reason such as clearing the Mac OS cache using a third party tool, these are the steps to troubleshoot the problem. Step 1: Close Android Studio. Step 2: Remove all the directories that are related to Android Studio ~/Library/Application Support/AndroidStudioBeta ~/Library/Caches/ AndroidStudioBeta ~/Library/Logs/ AndroidStudioBeta ~/Library/Preferences/ AndroidStudioBeta Step 3: Start Android Studio Simple as that...

Groovy Grails POST/GET Requests

Just a snippet of how to do GET/POST request in Groovy Grails. try{       HttpBuilder http = new HTTPBuilder('your URL here')       def postBody = [name: 'bob', title: 'construction worker']       http.post(body: postBody,                         requestContentType: ContentType.JSON) { resp, json ->                     //This is to assume everything is successful within this                         //closure                     println "response status " + resp.statusLine                     println "json response " + json                                      } }catch(HttpResponseException ex){         //handle your errors here }