s-aska / justaway-for-android-original Goto Github PK
View Code? Open in Web Editor NEWLightweight Twitter Client for Android
Home Page: http://justaway.info/
License: MIT License
Lightweight Twitter Client for Android
Home Page: http://justaway.info/
License: MIT License
ログアウトするときTwitterインスタンスのOAuthAccessTokenをクリアしてあげないと
最近まとめて気になってた部分直したので連絡します(機能改修はやってないです)
3.0系ほぼ無いのでAPIバージョンを14以上に設定しました、API14以上じゃないと動かない機能ではActionBar(PullToRefresh)位しか使ってないですが。
JustawayApplication.getFontello();
で取れるようにしました。
今後色々なコンテキストメニューを出し分けるのに今の作りだと都合がわるいので方法を変えました。
動的に値を埋めるTextViewのtextなど空の状態でレイアウトエディタがあんまり役になっていなかったのでちゃんとしました。
tools:text="@teshi04" とかやるとレイアウトエディタ上でだけ表示される値が設定できます。
http://screen.chihaya-pm.org/afa5587d73c6c6c550694c4998d977b2.png
参考: http://vividcode.hatenablog.com/entry/android-app/tools-attributes
バックキー or xボタンをどこかに置いて検索ワードのリセットと、検索結果を保存された検索ワード一覧に戻すという処理が必要そう
https://twitter.com/Syobon_0xff/status/420521431831543808
screen_nameはSharedPreferenceに保存されていて
info.justaway.contextmenuなどパッケージを切るなどしてうまい具合やれば良さそう
現在20件ずつしか読み込んでいないためすぐにAPIの使用制限に引っかかってしまう、たくさん遡れるように取得件数をページ数に応じて変える
1ページ目 ... 100件
2ページ目以降 ... 200件
http://screen.chihaya-pm.org/45e8328c78512d251c284684297f3d52.png
ウィジェットから起動すると、おふとん島みたいにツイート画面だけなの
JustawayApplicationのsApplicationをpublicにしてActivityなどからそのまま参照してもよいような気もしているけどどうなんだろうか。
データでくなりすぎてメモリ上から@欄のfragmentが開放されてしまって再度生成した時にapi上限でREST APIから読み込みができず、しかしStreaming APIは生きてるから1件だけStreamingでリプ受信したとか
原因は
https://github.com/chrisbanes/ActionBar-PullToRefresh/issues/186
で既に修正済みだったが mavenCentral 最新版の0.9.3には反映されていなかった。
developmentブランチをpluginsにディレクトリにそのまま突っ込み解決。
その後、以下2つの不具合を見つけ対応した。
対応
HomeTimelineとStreamingを同時に起動している、HomeTimeline終了後にStreamingを起動するように修正する
pull-to-refreshかなぁ
getUserListMembers
・TL
・@
・DM
・LIST
・Search
・Profile
・Post
・UserList
info.justaway.model.Profileの様なandroidパッケージのクラスを継承していないクラスでは、getter/setterの自動生成が思うようなネーミングにならない為にmHogeを使わないようにしているがこれでよいのか。
起動直後にEditTextにフォーカスあたるとハイライトされてうざくて結局こうしているんだけど他にいい方法ないよね...
http://twitpic.com/dqb4kt
4時間前のツイートの下に2時間前のツイートが表示されている。
時間通りに並んでないし同じツイートが複数回表示されている。
何回も読み込んでみたけど絶対異常になるっぽい。
フォロー、フォロワー、リスト、ふぁぼは問題なさそう。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.